From b9f20cefdb15c8b93698ac4b323d3785cd7e544f Mon Sep 17 00:00:00 2001 From: Joey Hafner Date: Wed, 14 Feb 2024 11:28:18 -0800 Subject: [PATCH] Clean up exit behavior --- wizard/config/configure.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/wizard/config/configure.sh b/wizard/config/configure.sh index 4a7e864..119d28c 100644 --- a/wizard/config/configure.sh +++ b/wizard/config/configure.sh @@ -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