aboutsummaryrefslogtreecommitdiff
path: root/sys/cmd/rc/lex.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/cmd/rc/lex.c')
-rw-r--r--sys/cmd/rc/lex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/cmd/rc/lex.c b/sys/cmd/rc/lex.c
index 373edd5..eb3a268 100644
--- a/sys/cmd/rc/lex.c
+++ b/sys/cmd/rc/lex.c
@@ -209,7 +209,7 @@ yylex(void)
node->type = Tpipe;
node->redir.fd[0] = 1;
- node->redir.fd[1] = 1;
+ node->redir.fd[1] = 0;
goto redir;
case '>':