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