mirror of https://github.com/OpenIPC/firmware.git
safely exiting in case of error
parent
e6926449ee
commit
d2f7e8d597
|
@ -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