mirror of
git://git.code.sf.net/p/zsh/code
synced 2026-01-03 20:51:07 +01:00
unposted: cross-reference zmodload from the modules intro doc.
29769: follow-up 29677 to handle the case where thisjob == -1.
This commit is contained in:
parent
6f2f2c7477
commit
748bd73d88
3 changed files with 17 additions and 4 deletions
|
|
@ -491,7 +491,9 @@ wait_for_processes(void)
|
|||
*/
|
||||
if (findproc(pid, &jn, &pn, 0)) {
|
||||
if (((jn->stat & STAT_BUILTIN) ||
|
||||
(list_pipe && (jobtab[thisjob].stat & STAT_BUILTIN))) &&
|
||||
(list_pipe &&
|
||||
(thisjob == -1 ||
|
||||
(jobtab[thisjob].stat & STAT_BUILTIN)))) &&
|
||||
WIFSTOPPED(status) && WSTOPSIG(status) == SIGTSTP) {
|
||||
killjb(jn, SIGCONT);
|
||||
zwarn("job can't be suspended");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue