whoops
This commit is contained in:
parent
e2db26b229
commit
aba6f8695d
|
@ -10,7 +10,7 @@ cd $HOME
|
||||||
# Exit if the entire script is running as root
|
# Exit if the entire script is running as root
|
||||||
SCRIPTUID=$(id -u)
|
SCRIPTUID=$(id -u)
|
||||||
if [[ $SCRIPTUID == 0 ]]; then
|
if [[ $SCRIPTUID == 0 ]]; then
|
||||||
echo "This script is not designed to be run as root. Please log with your regular user and run the script without sudo"
|
echo "This script is not designed to be run as root. Please log in with your regular user and run the script without sudo"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue