[git commit] ifplugd: make -k send SIGINT, not SIGQUIT

Denys Vlasenko vda.linux at googlemail.com
Thu Feb 28 11:50:09 UTC 2013


commit: http://git.busybox.net/busybox/commit/?id=216e952fb86b1eb3ac29701225d03e4690ac9561
branch: http://git.busybox.net/busybox/commit/?id=refs/heads/master

Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
 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;
 	}
 


More information about the busybox-cvs mailing list