mirror of https://github.com/OpenIPC/firmware.git
				
				
				
			Safely exiting in case of error (#1421)
							parent
							
								
									b1a7471830
								
							
						
					
					
						commit
						33783e7208
					
				|  | @ -21,6 +21,7 @@ echo_c() { | ||||||
| die() { | die() { | ||||||
| 	echo_c 31 "$1 Aborting." | 	echo_c 31 "$1 Aborting." | ||||||
| 	reboot_system | 	reboot_system | ||||||
|  | 	exit 1 | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| check_soc() { | check_soc() { | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue