This commit is contained in:
Laureηt 2021-05-23 16:24:23 +02:00
parent 6f30c8aa00
commit 0be79c83ac

View file

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