From e1f1f43ebbb45da7e7b5cad4061b5e17eee9a2bf 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 --- homelab/wizard/config/configure.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/homelab/wizard/config/configure.sh b/homelab/wizard/config/configure.sh index 4a7e864d..119d28cd 100644 --- a/homelab/wizard/config/configure.sh +++ b/homelab/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