Change exit code to non-zero when running without Sudo

This commit is contained in:
glitch452 2021-01-23 15:57:26 -05:00
parent 5a81da9912
commit 9131f2754a

View file

@ -93,7 +93,7 @@ if [[ ! $EUID -eq 0 ]];then
export SUDO="sudo"
else
echo "::: Please install sudo or run this as root."
exit 0
exit 1
fi
fi