ipset: do not check for mDNSResponder, just killall

This commit is contained in:
bol-van 2021-10-19 12:35:29 +03:00
parent 91c0a5089a
commit 11ccf72119

View File

@ -167,9 +167,7 @@ flush_dns_cache()
fi
# MacOS
if exists pgrep && pgrep ^mDNSResponder$ >/dev/null; then
killall -HUP mDNSResponder
fi
killall -HUP mDNSResponder 2>/dev/null
}
dnstest()
{