diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2013-02-28 12:50:09 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2013-02-28 12:50:09 +0100 |
commit | 216e952fb86b1eb3ac29701225d03e4690ac9561 (patch) | |
tree | 4667fa411f742bc59d005eeb7bdb57b622d660e5 | |
parent | 47f8558eee4caa30078daaa669f37d7cc77163fd (diff) | |
download | busybox-w32-216e952fb86b1eb3ac29701225d03e4690ac9561.tar.gz busybox-w32-216e952fb86b1eb3ac29701225d03e4690ac9561.tar.bz2 busybox-w32-216e952fb86b1eb3ac29701225d03e4690ac9561.zip |
ifplugd: make -k send SIGINT, not SIGQUIT
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-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 86586f0fe..3cdc2c9d2 100644 --- a/networking/ifplugd.c +++ b/networking/ifplugd.c | |||
@@ -556,7 +556,8 @@ int ifplugd_main(int argc UNUSED_PARAM, char **argv) | |||
556 | 556 | ||
557 | if (opts & FLAG_KILL) { | 557 | if (opts & FLAG_KILL) { |
558 | if (pid_from_pidfile > 0) | 558 | if (pid_from_pidfile > 0) |
559 | kill(pid_from_pidfile, SIGQUIT); | 559 | /* Upstream tool use SIGINT for -k */ |
560 | kill(pid_from_pidfile, SIGINT); | ||
560 | return EXIT_SUCCESS; | 561 | return EXIT_SUCCESS; |
561 | } | 562 | } |
562 | 563 | ||