mirror of
https://github.com/bol-van/zapret.git
synced 2024-11-26 20:20:53 +03:00
ipset: linux pgrep does not have -q option
This commit is contained in:
parent
2d60a37798
commit
91c0a5089a
@ -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
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user