mirror of
https://github.com/bol-van/zapret.git
synced 2024-11-11 17:29:16 +05:00
ipset: do not check for mDNSResponder, just killall
This commit is contained in:
parent
91c0a5089a
commit
11ccf72119
@ -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()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user