mirror of
https://github.com/mtan93/Installomator.git
synced 2026-03-23 13:14:13 +00:00
Add in missing fi
Close check for root loop -_-
This commit is contained in:
@@ -6,9 +6,10 @@
|
|||||||
esac
|
esac
|
||||||
|
|
||||||
# MARK: check for root
|
# MARK: check for root
|
||||||
if [ "$(whoami)" != "root" || "$DEBUG" -eq 2 ]; then
|
if [ "$(whoami)" != "root" || "$DEBUG" -eq 2 ]; then
|
||||||
# not running as root
|
# not running as root
|
||||||
cleanupAndExit 6 "not running as root, exiting"
|
cleanupAndExit 6 "not running as root, exiting"
|
||||||
|
fi
|
||||||
|
|
||||||
# MARK: application download and installation starts here
|
# MARK: application download and installation starts here
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user