diff options
-rw-r--r-- | source3/torture/torture.c | 2 |
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"); |