Look for pihole-FTL, not dnsmasq!

Signed-off-by: Adam Warner <adamw@rner.email>
This commit is contained in:
Adam Warner 2018-03-03 15:59:56 +00:00
parent 7ed45d26c2
commit 0b87f489d5
No known key found for this signature in database
GPG key ID: F5410858022DA5EB

2
pihole
View file

@ -340,7 +340,7 @@ restartDNS() {
svc="killall -s SIGHUP ${resolver}"
else
# Get PID of resolver to determine if it needs to start or restart
if pidof dnsmasq &> /dev/null; then
if pidof pihole-FTL &> /dev/null; then
svcOption="restart"
else
svcOption="start"