summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1996-07-16 15:54:58 +0000
committerMichael I. Bushnell <mib@gnu.org>1996-07-16 15:54:58 +0000
commit6fc6216d4241e0adc26e932f41c8ab77ad928a30 (patch)
tree6c22eebe847c10e318b84bb0ffcc44cc9399ec6e /init
parent757ca25b1cb9442e27def9a50c6270e233d154d4 (diff)
(process_signal): Set WUNTRACED in call to waitpid.
Diffstat (limited to 'init')
-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;