added exit status
This commit is contained in:
parent
d111f3bb47
commit
48b6b8a5cc
@ -5,7 +5,7 @@ DISTRO=$(lsb_release -is)
|
||||
|
||||
if [[ $(id -u) != "0" ]] && [[ $1 != "force" ]]; then
|
||||
echo "You must run this script as root! (To skip this, run with 'force' arg: \"./configure.sh force\")"
|
||||
exit
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Get COMMAND
|
||||
|
Loading…
x
Reference in New Issue
Block a user