Clean up exit behavior

This commit is contained in:
Joey Hafner 2024-02-14 11:28:18 -08:00
parent 467277c023
commit e1f1f43ebb

View File

@ -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