diff options
| author | Peter Stephenson <pws@users.sourceforge.net> | 2009-07-09 20:20:30 +0000 |
|---|---|---|
| committer | Peter Stephenson <pws@users.sourceforge.net> | 2009-07-09 20:20:30 +0000 |
| commit | 2d628b0bce00778423ea22ed929ba450847af4cb (patch) | |
| tree | c5337c11e68655c76099acb5bef195bef0a3f415 | |
| parent | Eric Blake: 27109: don't attachtty() if not interactive (diff) | |
| download | zsh-2d628b0bce00778423ea22ed929ba450847af4cb.tar zsh-2d628b0bce00778423ea22ed929ba450847af4cb.tar.gz zsh-2d628b0bce00778423ea22ed929ba450847af4cb.tar.bz2 zsh-2d628b0bce00778423ea22ed929ba450847af4cb.tar.lz zsh-2d628b0bce00778423ea22ed929ba450847af4cb.tar.xz zsh-2d628b0bce00778423ea22ed929ba450847af4cb.tar.zst zsh-2d628b0bce00778423ea22ed929ba450847af4cb.zip | |
Eric Blake: 27109: don't attachtty() if not interactive
| -rw-r--r-- | Src/utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/utils.c b/Src/utils.c index ad4ffca92..510a02b65 100644 --- a/Src/utils.c +++ b/Src/utils.c @@ -3590,7 +3590,7 @@ attachtty(pid_t pgrp) { static int ep = 0; - if (jobbing && interact) { + if (jobbing) { #ifdef HAVE_TCSETPGRP if (SHTTY != -1 && tcsetpgrp(SHTTY, pgrp) == -1 && !ep) #else |
