git.samba.org
/
tridge
/
hacksm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e31af82
)
get rid of zombies
author
Andrew Tridgell
<tridge@samba.org>
Sun, 17 Aug 2008 23:46:51 +0000
(09:46 +1000)
committer
Andrew Tridgell
<tridge@samba.org>
Sun, 17 Aug 2008 23:46:51 +0000
(09:46 +1000)
hacksmd.c
patch
|
blob
|
history
diff --git
a/hacksmd.c
b/hacksmd.c
index 442d9e787840b4c5386bbf2a9957e1d276c08049..8333f8a2b1c6354cfc669b718bcf025f05882d00 100644
(file)
--- a/
hacksmd.c
+++ b/
hacksmd.c
@@
-570,6
+570,8
@@
int main(int argc, char * const argv[])
argv += optind;
argc -= optind;
+ signal(SIGCHLD, SIG_IGN);
+
signal(SIGTERM, hsm_term_handler);
signal(SIGINT, hsm_term_handler);