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:
7301067
)
acpid: prevent creation of zombies
author
Denis Vlasenko
<vda.linux@googlemail.com>
Sat, 18 Apr 2009 11:35:16 +0000
(11:35 -0000)
committer
Denis Vlasenko
<vda.linux@googlemail.com>
Sat, 18 Apr 2009 11:35:16 +0000
(11:35 -0000)
util-linux/acpid.c
patch
|
blob
|
history
diff --git
a/util-linux/acpid.c
b/util-linux/acpid.c
index ef4e54d5d0e41d3f75af0c6cfdfb989b1b857f54..49ea52d53218e4356b6b785a2239554ff822a350 100644
(file)
--- a/
util-linux/acpid.c
+++ b/
util-linux/acpid.c
@@
-78,8
+78,8
@@
int acpid_main(int argc, char **argv)
// goto configuration directory
xchdir(opt_conf);
-
// // setup signal
s
-
// bb_signals(BB_FATAL_SIGS, record_signo
);
+
// prevent zombie
s
+
signal(SIGCHLD, SIG_IGN
);
// no explicit evdev files given? -> use proc event interface
if (!*argv) {