Reset the signal handler in the child
This commit is contained in:
parent
7b3a9199d0
commit
64b5a191e5
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user