projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
47f8558
)
ifplugd: make -k send SIGINT, not SIGQUIT
author
Denys Vlasenko
<vda.linux@googlemail.com>
Thu, 28 Feb 2013 11:50:09 +0000
(12:50 +0100)
committer
Denys 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
patch
|
blob
|
history
diff --git
a/networking/ifplugd.c
b/networking/ifplugd.c
index 86586f0fe180f14dd3e318ff94dae813c6c54de3..3cdc2c9d29e58b27bd79749b5ec3c3b9ac71da38 100644
(file)
--- 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;
}