Fix incorrect conditional for failures

This commit is contained in:
Joshua Boniface 2023-09-01 15:41:57 -04:00
parent 2622595344
commit 2d37a4dd34
1 changed files with 1 additions and 1 deletions

View File

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