From ecfe56b932e5f70dbdd0f5dbe7aff650b17f35c7 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Thu, 14 May 1992 20:42:25 +0000 Subject: Formerly job.c.~68~ --- job.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/job.c b/job.c index f1c919d..31178ea 100644 --- a/job.c +++ b/job.c @@ -257,7 +257,13 @@ reap_children (block, err) pid = wait (&status); if (pid < 0) - pfatal_with_name ("wait"); + { +#ifdef EINTR + if (errno == EINTR) + continue; +#endif + pfatal_with_name ("wait"); + } else if (pid == 0) /* No local children. */ break; -- cgit v1.2.3