diff options
-rw-r--r-- | proc/wait.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/proc/wait.c b/proc/wait.c index 46f240af..b8f2e60e 100644 --- a/proc/wait.c +++ b/proc/wait.c @@ -322,7 +322,7 @@ zombie_check_pid (pid_t pid) struct zombie *z; for (z = zombie_list; z; z = z->next) if (z->pid == pid || -z->pid == pid - || z->pgrp == pid || -z->pgrp == pgrp) + || z->pgrp == pid || -z->pgrp == pid) return 1; return 0; } |