projects
/
infodrom
/
sysklogd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7b3a919
)
Reset the signal handler in the child
author
Joey Schulze
<joey@infodrom.org>
Fri, 25 May 2007 18:47:21 +0000
(18:47 +0000)
committer
Joey Schulze
<joey@infodrom.org>
Fri, 25 May 2007 18:47:21 +0000
(18:47 +0000)
syslogd.c
patch
|
blob
|
history
diff --git
a/syslogd.c
b/syslogd.c
index
9aff4ed
..
fb4cca2
100644
(file)
--- a/
syslogd.c
+++ b/
syslogd.c
@@
-950,6
+950,7
@@
int main(argc, argv)
*/
exit(1);
}
+ signal (SIGTERM, SIG_DFL);
num_fds = getdtablesize();
for (i= 0; i < num_fds; i++)
(void) close(i);