From d015489a8321dde60b26049fda8241b27b163cca Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Mon, 13 Dec 2021 01:27:51 -0500 Subject: [PATCH] Fix incorrect conditional for failures --- templates/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/install.sh b/templates/install.sh index f71497c..2dbd1af 100755 --- a/templates/install.sh +++ b/templates/install.sh @@ -506,7 +506,7 @@ cleanup() { echo "done." echo - if [[ -n ${DONE} ]]; then + if [[ -z ${DONE} ]]; then case ${install_option} in on) echo "A fatal error occurred; rebooting in 10 seconds."