tell user to run as root

since you can't install sudo as a non-root user, the script needs to be
run as root in order to install it.
This commit is contained in:
Jacob Salmela 2016-06-11 13:21:08 -05:00
parent 1194e48bd8
commit 13a479a9f6
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ else
if [[ $(dpkg-query -s sudo) ]];then
export SUDO="sudo"
else
echo "::: sudo will be installed. It is needed for the Web interface to run pihole commands."
echo "::: sudo is needed for the Web interface to run pihole commands. Please run this script as root and it will be automatically installed."
exit 1
fi
fi