about summary refs log tree commit diff
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>2000-01-19 09:04:21 +0000
committerTanaka Akira <akr@users.sourceforge.net>2000-01-19 09:04:21 +0000
commit377fde4b22ad2ba1cf260a41a22fd4a6c9d9cbdb (patch)
tree6e933a84d461c67d7efcfd6b51af48030fd0e38b
parentbf38cbbda75b614ed6c3a5924a6449e682e52ac8 (diff)
downloadzsh-377fde4b22ad2ba1cf260a41a22fd4a6c9d9cbdb.tar.gz
zsh-377fde4b22ad2ba1cf260a41a22fd4a6c9d9cbdb.tar.xz
zsh-377fde4b22ad2ba1cf260a41a22fd4a6c9d9cbdb.zip
zsh-workers/9361
-rw-r--r--Src/exec.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/Src/exec.c b/Src/exec.c
index c9c895940..1e2cb5e5a 100644
--- a/Src/exec.c
+++ b/Src/exec.c
@@ -2517,8 +2517,7 @@ getoutput(char *cmd, int qt)
 	wc_code(pc[2]) == WC_PIPE && WC_PIPE_TYPE(pc[2]) == WC_PIPE_END &&
 	wc_code(pc[3]) == WC_REDIR && WC_REDIR_TYPE(pc[3]) == READ && 
 	!pc[4] &&
-	wc_code(pc[6]) == WC_SIMPLE && !WC_SIMPLE_ARGC(pc[6]) &&
-	wc_code(pc[7]) == WC_END) {
+	wc_code(pc[6]) == WC_SIMPLE && !WC_SIMPLE_ARGC(pc[6])) {
 	/* $(< word) */
 	int stream;
 	char *s = dupstring(ecrawstr(prog, pc + 5));