Browse Source

ipset: do not check for mDNSResponder, just killall

pull/80/head
bol-van 4 years ago
parent
commit
11ccf72119
  1. 4
      ipset/def.sh

4
ipset/def.sh

@ -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…
Cancel
Save