aboutsummaryrefslogtreecommitdiff
path: root/networking
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2013-02-28 12:50:09 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2013-02-28 12:50:09 +0100
commit216e952fb86b1eb3ac29701225d03e4690ac9561 (patch)
tree4667fa411f742bc59d005eeb7bdb57b622d660e5 /networking
parent47f8558eee4caa30078daaa669f37d7cc77163fd (diff)
downloadbusybox-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.c3
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)
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;
}