From c85a7a1fba8695e899b2da006a58b40d03d4ed4a Mon Sep 17 00:00:00 2001 From: Sam Ess Date: Sat, 16 Oct 2021 19:03:29 -0400 Subject: [PATCH] Add in missing fi Close check for root loop -_- --- fragments/main.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/fragments/main.sh b/fragments/main.sh index edd706c..e54097f 100644 --- a/fragments/main.sh +++ b/fragments/main.sh @@ -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