Add in missing fi

Close check for root loop -_-
This commit is contained in:
Sam Ess
2021-10-16 19:03:29 -04:00
parent b6bc0b1269
commit c85a7a1fba

View File

@@ -6,9 +6,10 @@
esac
# MARK: check for root
if [ "$(whoami)" != "root" || "$DEBUG" -eq 2 ]; then
# not running as root
cleanupAndExit 6 "not running as root, exiting"
if [ "$(whoami)" != "root" || "$DEBUG" -eq 2 ]; then
# not running as root
cleanupAndExit 6 "not running as root, exiting"
fi
# MARK: application download and installation starts here