From b31ca21b46ae445ca12ab0c89ad0d66e5426328b Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Wed, 8 Jul 2009 17:06:02 +0000 Subject: 27100: Allow MONITOR option in non-interactive shells for testing. --- Src/options.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Src/options.c') diff --git a/Src/options.c b/Src/options.c index d310f346d..b2b306cd9 100644 --- a/Src/options.c +++ b/Src/options.c @@ -730,7 +730,7 @@ dosetopt(int optno, int value, int force) } else if (!force && optno == MONITOR && value) { if (opts[optno] == value) return 0; - if (interact && (SHTTY != -1)) { + if (SHTTY != -1) { origpgrp = GETPGRP(); acquire_pgrp(); } else -- cgit 1.4.1