# | Line 88 | Line 88 | int nproc | |
---|---|---|
88 | close(pd[i].w); | |
89 | close(pd[i].r); | |
90 | pd[i].running = 0; | |
91 | < | } |
91 | > | } else |
92 | > | togo -= (pd[i].pid < 0); |
93 | if (nproc == 1) { /* await specific process? */ | |
94 | if (waitpid(pd->pid, &status, 0) != pd->pid) | |
95 | return(-1); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |