mirror of
https://github.com/mtan93/Installomator.git
synced 2026-05-27 14:21:47 +01:00
Fixed printlog issue
This commit is contained in:
+1
-1
@@ -6,7 +6,7 @@
|
||||
esac
|
||||
|
||||
# MARK: check for root
|
||||
if [ "$(whoami)" != "root" || "$DEBUG" -eq 2 ]; then
|
||||
if [[ "$(whoami)" != "root" && "$DEBUG" -ne 2 ]]; then
|
||||
# not running as root
|
||||
cleanupAndExit 6 "not running as root, exiting"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user