From 487d2f274df1258b43cf672988f081778c389932 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Tue, 2 Sep 2014 07:59:44 +0200 Subject: dhcpcd-hook: send signal only to exact matches --- dhcpcd/80-pacredir | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dhcpcd/80-pacredir b/dhcpcd/80-pacredir index b5651be..3e7addb 100644 --- a/dhcpcd/80-pacredir +++ b/dhcpcd/80-pacredir @@ -4,7 +4,7 @@ case "${reason}" in BOUND|REBIND|REBOOT|RENEW|TIMEOUT|STATIC) # inform pacredir about reestablished connection if pgrep -x pacredir >/dev/null; then - kill -HUP $(pgrep pacredir) + kill -HUP $(pgrep -x pacredir) fi ;; PREINIT|EXPIRE|INFORM|FAIL|IPV4LL|NAK|NOCARRIER|RELEASE|STOP) -- cgit v1.2.3-70-g09d2