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:
parent
1194e48bd8
commit
13a479a9f6
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue