1
0
Fork 0
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:
Peter Stephenson 2009-07-09 20:20:30 +00:00
parent aabd747d4f
commit 2d628b0bce

View file

@ -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