ifplugd: make -k send SIGINT, not SIGQUIT

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko 2013-02-28 12:50:09 +01:00
parent 47f8558eee
commit 216e952fb8

View File

@ -556,7 +556,8 @@ int ifplugd_main(int argc UNUSED_PARAM, char **argv)
if (opts & FLAG_KILL) { if (opts & FLAG_KILL) {
if (pid_from_pidfile > 0) if (pid_from_pidfile > 0)
kill(pid_from_pidfile, SIGQUIT); /* Upstream tool use SIGINT for -k */
kill(pid_from_pidfile, SIGINT);
return EXIT_SUCCESS; return EXIT_SUCCESS;
} }