Reset the signal handler in the child

This commit is contained in:
Joey Schulze 2007-05-25 18:47:21 +00:00
parent 7b3a9199d0
commit 64b5a191e5

View File

@ -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);