diff --git a/pihole b/pihole index ace0d9a9..199c0a68 100755 --- a/pihole +++ b/pihole @@ -154,7 +154,7 @@ piholeStatus() { else echo "::: Pi-hole blocking is Disabled"; fi - elif [[ $(cat /etc/dnsmasq.d/01-pihole.conf | grep "addn-hosts=/") ]] ; then + elif [[ $(cat /etc/dnsmasq.d/01-pihole.conf | grep "^addn-hosts=/") ]] ; then #list set if [[ "${1}" == "web" ]] ; then echo 1;