summaryrefslogtreecommitdiff
path: root/src/process.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/process.c')
-rw-r--r--src/process.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/process.c b/src/process.c
index 78fc400e5a2..0fbbd5d34c3 100644
--- a/src/process.c
+++ b/src/process.c
@@ -6497,6 +6497,7 @@ sigchld_handler (signo)
/* Keep trying to get a status until we get a definitive result. */
do
{
+ sleep (1);
errno = 0;
pid = wait3 (&w, WNOHANG | WUNTRACED, 0);
}