Browse Source

ipset: linux pgrep does not have -q option

pull/80/head
bol-van 4 years ago
parent
commit
91c0a5089a
  1. 2
      ipset/def.sh

2
ipset/def.sh

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

Loading…
Cancel
Save