mirror of
https://github.com/mtan93/Installomator.git
synced 2026-03-15 05:10:56 +00:00
Add in missing fi
Close check for root loop -_-
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user