Clean up exit behavior
This commit is contained in:
parent
467277c023
commit
e1f1f43ebb
@ -56,10 +56,8 @@ echo "===== Configure system... ====="
|
||||
compare
|
||||
|
||||
{ # try commit, save
|
||||
commit && save
|
||||
commit && save && exit
|
||||
} || { # catch, exit discard and print a very basic error message
|
||||
exit discard
|
||||
echo "Failed to commit and save the configuration."
|
||||
}
|
||||
|
||||
exit
|
||||
|
Loading…
Reference in New Issue
Block a user