ifplugd: make -k send SIGINT, not SIGQUIT
authorDenys Vlasenko <vda.linux@googlemail.com>
Thu, 28 Feb 2013 11:50:09 +0000 (12:50 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Thu, 28 Feb 2013 11:50:09 +0000 (12:50 +0100)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
networking/ifplugd.c

index 86586f0fe180f14dd3e318ff94dae813c6c54de3..3cdc2c9d29e58b27bd79749b5ec3c3b9ac71da38 100644 (file)
@@ -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;
        }