mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-12-24 13:50:17 +00:00
Clean up output. Commented out un-needed root/sudo notification
This commit is contained in:
parent
3877f6fd94
commit
96f3f863e5
1 changed files with 2 additions and 2 deletions
4
pihole
4
pihole
|
@ -12,9 +12,9 @@
|
|||
|
||||
# Must be root to use this tool
|
||||
if [[ $EUID -eq 0 ]];then
|
||||
echo "::: You are root."
|
||||
#echo "::: You are root."
|
||||
else
|
||||
echo "::: Sudo will be used for this tool."
|
||||
#echo "::: Sudo will be used for this tool."
|
||||
# Check if it is actually installed
|
||||
# If it isn't, exit because the pihole cannot be invoked without privileges.
|
||||
if [[ $(dpkg-query -s sudo) ]];then
|
||||
|
|
Loading…
Reference in a new issue