ifplugd: make -k send SIGINT, not SIGQUIT
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
47f8558eee
commit
216e952fb8
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user