about summary refs log tree commit diff
path: root/Src/utils.c
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2009-07-09 20:20:30 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2009-07-09 20:20:30 +0000
commit2d628b0bce00778423ea22ed929ba450847af4cb (patch)
treec5337c11e68655c76099acb5bef195bef0a3f415 /Src/utils.c
parentaabd747d4f396bba31c109ec7e11ff36eee14140 (diff)
downloadzsh-2d628b0bce00778423ea22ed929ba450847af4cb.tar.gz
zsh-2d628b0bce00778423ea22ed929ba450847af4cb.tar.xz
zsh-2d628b0bce00778423ea22ed929ba450847af4cb.zip
Eric Blake: 27109: don't attachtty() if not interactive
Diffstat (limited to 'Src/utils.c')
-rw-r--r--Src/utils.c2
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