summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--init/init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/init/init.c b/init/init.c
index f1077a66..58a33410 100644
--- a/init/init.c
+++ b/init/init.c
@@ -1297,7 +1297,7 @@ process_signal (int signo)
for (;;)
{
- pid = waitpid (WAIT_ANY, &status, WNOHANG);
+ pid = waitpid (WAIT_ANY, &status, WNOHANG | WUNTRACED);
if (pid <= 0)
return;