aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--posix/tst-waitid.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/posix/tst-waitid.c b/posix/tst-waitid.c
index 3befe1a72e..3e81d7a0ac 100644
--- a/posix/tst-waitid.c
+++ b/posix/tst-waitid.c
@@ -450,6 +450,7 @@ do_test (int argc, char *argv[])
out:
if (spurious_sigchld)
status = EXIT_FAILURE;
+ signal (SIGCHLD, SIG_IGN);
kill (pid, SIGKILL); /* Make sure it's dead if we bailed early. */
return status;
}