diff options
| author | Peter Stephenson <p.w.stephenson@ntlworld.com> | 2019-08-03 19:48:18 +0100 |
|---|---|---|
| committer | Peter Stephenson <p.w.stephenson@ntlworld.com> | 2019-08-03 19:48:18 +0100 |
| commit | e0d063a2ade821baf570eb300d4be93692b494f8 (patch) | |
| tree | e3356d3a2a873ba413dc70458ec1c0acb7f6d4f3 /Src | |
| parent | 44637: = doesn't need quoting in awk regexp. (diff) | |
| download | zsh-e0d063a2ade821baf570eb300d4be93692b494f8.tar zsh-e0d063a2ade821baf570eb300d4be93692b494f8.tar.gz zsh-e0d063a2ade821baf570eb300d4be93692b494f8.tar.bz2 zsh-e0d063a2ade821baf570eb300d4be93692b494f8.tar.lz zsh-e0d063a2ade821baf570eb300d4be93692b494f8.tar.xz zsh-e0d063a2ade821baf570eb300d4be93692b494f8.tar.zst zsh-e0d063a2ade821baf570eb300d4be93692b494f8.zip | |
44635: Don't apply STAT_NOPRINT to backgrounded jobs
Diffstat (limited to 'Src')
| -rw-r--r-- | Src/exec.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Src/exec.c b/Src/exec.c index 2acb2c0bc..e81053d67 100644 --- a/Src/exec.c +++ b/Src/exec.c @@ -1690,7 +1690,8 @@ execpline(Estate state, wordcode slcode, int how, int last1) lastwj = thisjob = newjob; - if (list_pipe || (pline_level && !(how & Z_TIMED))) + if (list_pipe || (pline_level && !(how & Z_TIMED) && + !(jn->stat & STAT_NOSTTY))) jn->stat |= STAT_NOPRINT; if (nowait) { |
