diff options
author | Christian Hesse <mail@eworm.de> | 2014-09-02 07:59:44 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2014-09-02 07:59:44 +0200 |
commit | 487d2f274df1258b43cf672988f081778c389932 (patch) | |
tree | f5a6cd05335c236416d7bc95b4f643a6fc795ffc /dhcpcd | |
parent | e4bb3f67b082a744ff01faab23a0ba63758068ad (diff) | |
download | pacredir-487d2f274df1258b43cf672988f081778c389932.tar.gz pacredir-487d2f274df1258b43cf672988f081778c389932.tar.zst |
dhcpcd-hook: send signal only to exact matches
Diffstat (limited to 'dhcpcd')
-rw-r--r-- | dhcpcd/80-pacredir | 2 |
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) |