summaryrefslogtreecommitdiffstats
path: root/dhcpcd/80-pacredir
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2014-09-02 07:59:44 +0200
committerGravatar Christian Hesse <mail@eworm.de>2014-09-02 07:59:44 +0200
commit487d2f274df1258b43cf672988f081778c389932 (patch)
treef5a6cd05335c236416d7bc95b4f643a6fc795ffc /dhcpcd/80-pacredir
parente4bb3f67b082a744ff01faab23a0ba63758068ad (diff)
downloadpacredir-487d2f274df1258b43cf672988f081778c389932.tar.gz
pacredir-487d2f274df1258b43cf672988f081778c389932.tar.zst
dhcpcd-hook: send signal only to exact matches
Diffstat (limited to 'dhcpcd/80-pacredir')
-rw-r--r--dhcpcd/80-pacredir2
1 files changed, 1 insertions, 1 deletions
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)