diff options
Diffstat (limited to 'Src')
-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 510a02b65..ad4ffca92 100644 --- a/Src/utils.c +++ b/Src/utils.c @@ -3590,7 +3590,7 @@ attachtty(pid_t pgrp) { static int ep = 0; - if (jobbing) { + if (jobbing && interact) { #ifdef HAVE_TCSETPGRP if (SHTTY != -1 && tcsetpgrp(SHTTY, pgrp) == -1 && !ep) #else |