From 0768b190ba9347bcfe2d43da2b61eded53173635 Mon Sep 17 00:00:00 2001 From: Bart Schaefer Date: Thu, 11 May 2000 16:39:02 +0000 Subject: 11326: Avoid init_io() on "exec < file" when zleactive. Also fix OPK's slightly confused previous ChangeLog entry. --- Src/exec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Src') diff --git a/Src/exec.c b/Src/exec.c index 7ce553ade..e0247430b 100644 --- a/Src/exec.c +++ b/Src/exec.c @@ -2097,7 +2097,7 @@ execcmd(Estate state, int input, int output, int how, int last1) /* If this is 'exec < file', read from stdin, * * not terminal, unless `file' is a terminal. */ if (nullexec == 1 && fn->fd1 == 0 && - isset(SHINSTDIN) && interact) + isset(SHINSTDIN) && interact && !zleactive) init_io(); break; case CLOSE: -- cgit 1.4.1