diff options
-rw-r--r-- | posix/tst-waitid.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/posix/tst-waitid.c b/posix/tst-waitid.c index 3befe1a..3e81d7a 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; } |