diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2009-07-08 17:06:02 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2009-07-08 17:06:02 +0000 |
commit | b31ca21b46ae445ca12ab0c89ad0d66e5426328b (patch) | |
tree | d2e1d4f39b22b9e814b756d93ef06c0c4a58fc63 /Src/init.c | |
parent | c6a3ccc8d725a1729131a328848ad5c509b821e5 (diff) | |
download | zsh-b31ca21b46ae445ca12ab0c89ad0d66e5426328b.tar.gz zsh-b31ca21b46ae445ca12ab0c89ad0d66e5426328b.tar.xz zsh-b31ca21b46ae445ca12ab0c89ad0d66e5426328b.zip |
27100: Allow MONITOR option in non-interactive shells for testing.
Diffstat (limited to 'Src/init.c')
-rw-r--r-- | Src/init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/init.c b/Src/init.c index 41e5ecf9f..189451966 100644 --- a/Src/init.c +++ b/Src/init.c @@ -486,7 +486,7 @@ init_io(void) * process group leader. */ mypid = (zlong)getpid(); - if (opts[MONITOR] && interact && (SHTTY != -1)) { + if (opts[MONITOR] && (SHTTY != -1)) { origpgrp = GETPGRP(); acquire_pgrp(); /* might also clear opts[MONITOR] */ } else |