boop
This commit is contained in:
parent
6f30c8aa00
commit
0be79c83ac
2
utils.c
2
utils.c
|
@ -127,7 +127,7 @@ void handler_sigchld(int sig_num)
|
|||
{
|
||||
pid_fils = waitpid(-1, &wait_code, WNOHANG | WUNTRACED | WCONTINUED);
|
||||
if ((pid_fils == -1) && (errno != ECHILD))
|
||||
{ // wait fail ?
|
||||
{ // wait failed ?
|
||||
fprintf(stderr, "ERROR: waiting for %d failed, (%d) %s\n", pid_fils, errno, strerror(errno));
|
||||
exit(errno);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue