ipset: linux pgrep does not have -q option

This commit is contained in:
bol-van 2021-10-19 12:31:09 +03:00
parent 2d60a37798
commit 91c0a5089a

View File

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