Update main.c add signal(SIGCHLD, SIG_IGN)

pull/442/head
Alan Johnston 2 months ago committed by GitHub
parent f5dbb6ba47
commit 0e7f25e289
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -2410,6 +2410,7 @@ FILE *sopen(const char *program)
_exit(127);
}
/* parent */
signal(SIGCHLD, SIG_IGN);
close(fds[1]);
return fdopen(fds[0], "r+");
}

Loading…
Cancel
Save

Powered by TurnKey Linux.