X-Git-Url: https://gapil.gnulinux.it/gitweb/?p=gapil.git;a=blobdiff_plain;f=sources%2FSigHand.c;h=b5d6c7bda49de7c003e7cdf80bf2dd83b38212e6;hp=6112700af7a7525eba3c574aecd01d95dc7373ca;hb=1bc54870307368cc8c74e07f7f4dd53498e09db0;hpb=3e8003adb1396080659ef5d34896eb2f573be6cd diff --git a/sources/SigHand.c b/sources/SigHand.c index 6112700..b5d6c7b 100644 --- a/sources/SigHand.c +++ b/sources/SigHand.c @@ -113,7 +113,7 @@ void HandSigCHLD(int sig) // if (pid > 0) { // debug("child %d terminated with status %x\n", pid, status); // } - } while ((pid > 0) && (errno == EINTR)); + } while (pid > 0); /* restore errno value*/ errno = errno_save; /* return */