summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2013-02-28 11:50:09 (GMT)
committer Denys Vlasenko <vda.linux@googlemail.com>2013-02-28 11:50:09 (GMT)
commit216e952fb86b1eb3ac29701225d03e4690ac9561 (patch)
tree4667fa411f742bc59d005eeb7bdb57b622d660e5
parent47f8558eee4caa30078daaa669f37d7cc77163fd (diff)
downloadbusybox-216e952fb86b1eb3ac29701225d03e4690ac9561.tar.gz
busybox-216e952fb86b1eb3ac29701225d03e4690ac9561.tar.bz2
ifplugd: make -k send SIGINT, not SIGQUIT
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r--networking/ifplugd.c3
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;
}