mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-06 23:31:28 +02:00
Eric Blake: 27109: don't attachtty() if not interactive
This commit is contained in:
parent
aabd747d4f
commit
2d628b0bce
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue