From 216e952fb86b1eb3ac29701225d03e4690ac9561 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Thu, 28 Feb 2013 12:50:09 +0100 Subject: ifplugd: make -k send SIGINT, not SIGQUIT Signed-off-by: Denys Vlasenko --- networking/ifplugd.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'networking/ifplugd.c') 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; } -- cgit v1.2.3