aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--shell/ash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/ash.c b/shell/ash.c
index 36ddda1bc..8f137404f 100644
--- a/shell/ash.c
+++ b/shell/ash.c
@@ -4457,7 +4457,7 @@ waitpid_child(int *status, int wait_flags)
4457 } 4457 }
4458 4458
4459 idx = WaitForMultipleObjects(pid_nr, proclist, FALSE, 4459 idx = WaitForMultipleObjects(pid_nr, proclist, FALSE,
4460 wait_flags|WNOHANG ? 1 : INFINITE); 4460 wait_flags&WNOHANG ? 1 : INFINITE);
4461 if (idx >= pid_nr) { 4461 if (idx >= pid_nr) {
4462 free(pidlist); 4462 free(pidlist);
4463 free(proclist); 4463 free(proclist);