Clean up output. Commented out un-needed root/sudo notification

This commit is contained in:
Adam Warner 2016-04-06 09:28:24 +01:00
parent 3877f6fd94
commit 96f3f863e5
1 changed files with 2 additions and 2 deletions

4
pihole
View File

@ -12,9 +12,9 @@
# Must be root to use this tool # Must be root to use this tool
if [[ $EUID -eq 0 ]];then if [[ $EUID -eq 0 ]];then
echo "::: You are root." #echo "::: You are root."
else else
echo "::: Sudo will be used for this tool." #echo "::: Sudo will be used for this tool."
# Check if it is actually installed # Check if it is actually installed
# If it isn't, exit because the pihole cannot be invoked without privileges. # If it isn't, exit because the pihole cannot be invoked without privileges.
if [[ $(dpkg-query -s sudo) ]];then if [[ $(dpkg-query -s sudo) ]];then