summaryrefslogtreecommitdiffstats
path: root/source3/torture/torture.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/torture/torture.c')
-rw-r--r--source3/torture/torture.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/torture/torture.c b/source3/torture/torture.c
index cb5a951b94..3c20a2896a 100644
--- a/source3/torture/torture.c
+++ b/source3/torture/torture.c
@@ -3162,7 +3162,7 @@ static double create_procs(BOOL (*fn)(int), BOOL *result)
printf("%d clients started\n", nprocs);
for (i=0;i<nprocs;i++) {
- waitpid(0, &status, 0);
+ while (waitpid(0, &status, 0) == -1 && errno == EINTR) /* noop */ ;
}
printf("\n");