1
0
mirror of https://github.com/pi-hole/pi-hole synced 2024-12-22 14:58:08 +00:00

remove a space

This commit is contained in:
Promofaux 2016-10-23 19:47:31 +01:00
parent 82e78fb651
commit 8ee98f0a4a

4
pihole
View File

@ -133,14 +133,14 @@ piholeStatus() {
if [[ "${1}" == "web" ]] ; then if [[ "${1}" == "web" ]] ; then
echo 0; echo 0;
else else
echo "::: Pi-hole blocking is Disabled"; echo "::: Pi-hole blocking is Disabled";
fi 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 #list set
if [[ "${1}" == "web" ]] ; then if [[ "${1}" == "web" ]] ; then
echo 1; echo 1;
else else
echo "::: Pi-hole blocking is Enabled"; echo "::: Pi-hole blocking is Enabled";
fi fi
else else
#addn-host not found #addn-host not found