diff options
author | Denys Vlasenko | 2013-02-28 12:50:09 +0100 |
---|---|---|
committer | Denys Vlasenko | 2013-02-28 12:50:09 +0100 |
commit | 216e952fb86b1eb3ac29701225d03e4690ac9561 (patch) | |
tree | 4667fa411f742bc59d005eeb7bdb57b622d660e5 /networking | |
parent | 47f8558eee4caa30078daaa669f37d7cc77163fd (diff) | |
download | busybox-216e952fb86b1eb3ac29701225d03e4690ac9561.zip busybox-216e952fb86b1eb3ac29701225d03e4690ac9561.tar.gz |
ifplugd: make -k send SIGINT, not SIGQUIT
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking')
-rw-r--r-- | networking/ifplugd.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/networking/ifplugd.c b/networking/ifplugd.c index 86586f0..3cdc2c9 100644 --- a/networking/ifplugd.c +++ b/networking/ifplugd.c @@ -556,7 +556,8 @@ int ifplugd_main(int argc UNUSED_PARAM, char **argv) if (opts & FLAG_KILL) { if (pid_from_pidfile > 0) - kill(pid_from_pidfile, SIGQUIT); + /* Upstream tool use SIGINT for -k */ + kill(pid_from_pidfile, SIGINT); return EXIT_SUCCESS; } |