about summary refs log tree commit diff
path: root/Src/glob.c
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>1999-10-10 16:03:01 +0000
committerTanaka Akira <akr@users.sourceforge.net>1999-10-10 16:03:01 +0000
commit621bcdd7671d7463910afe24fada85792d803a8c (patch)
treebf8542a22719de9ade5b1536b248f1ff13ce506f /Src/glob.c
parentbb71f141bf2884f1edbe1771cd3ca2393f24627e (diff)
downloadzsh-621bcdd7671d7463910afe24fada85792d803a8c.tar.gz
zsh-621bcdd7671d7463910afe24fada85792d803a8c.tar.xz
zsh-621bcdd7671d7463910afe24fada85792d803a8c.zip
zsh-workers/8187
Diffstat (limited to 'Src/glob.c')
-rw-r--r--Src/glob.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/glob.c b/Src/glob.c
index 07336986d..d8cfc6a6a 100644
--- a/Src/glob.c
+++ b/Src/glob.c
@@ -1580,7 +1580,7 @@ xpandredir(struct redir *fn, LinkList tab)
 	    if (s[0] == '-' && !s[1])
 		fn->type = CLOSE;
 	    else if (s[0] == 'p' && !s[1]) 
-		fn->fd2 = (fn->type == MERGEOUT) ? coprocout : coprocin;
+		fn->fd2 = -2;
 	    else {
 		while (idigit(*s))
 		    s++;