This commit is contained in:
Dominik V. Salonen 2018-01-04 11:57:37 +00:00
parent e2db26b229
commit aba6f8695d
1 changed files with 1 additions and 1 deletions

View File

@ -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