diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2003-09-22 13:46:03 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2003-09-22 13:46:03 +0000 |
commit | 58bad19411cce9ee0a0edf3ef93acb475b7e7a79 (patch) | |
tree | 94efc673f6464fb2105017ff9d9d993517c9c8da /Src/jobs.c | |
parent | f27036858ae1b2e61b40d0467ba88566dc8863f6 (diff) | |
download | zsh-58bad19411cce9ee0a0edf3ef93acb475b7e7a79.tar.gz zsh-58bad19411cce9ee0a0edf3ef93acb475b7e7a79.tar.xz zsh-58bad19411cce9ee0a0edf3ef93acb475b7e7a79.zip |
19105: Set shout to stderr if interative with no tty
Diffstat (limited to 'Src/jobs.c')
-rw-r--r-- | Src/jobs.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Src/jobs.c b/Src/jobs.c index c94f694ee..f7c24ab3f 100644 --- a/Src/jobs.c +++ b/Src/jobs.c @@ -322,8 +322,9 @@ update_job(Job jn) } } - if (shout && !ttyfrozen && !jn->stty_in_env && !zleactive && - job == thisjob && !somestopped && !(jn->stat & STAT_NOSTTY)) + if (shout && shout != stderr && !ttyfrozen && !jn->stty_in_env && + !zleactive && job == thisjob && !somestopped && + !(jn->stat & STAT_NOSTTY)) gettyinfo(&shttyinfo); if (isset(MONITOR)) { |