summaryrefslogtreecommitdiff
path: root/bin/sh/parser.c
diff options
context:
space:
mode:
Diffstat (limited to 'bin/sh/parser.c')
-rw-r--r--bin/sh/parser.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/sh/parser.c b/bin/sh/parser.c
index a65dfb3b4253..08d25696ffc2 100644
--- a/bin/sh/parser.c
+++ b/bin/sh/parser.c
@@ -1138,6 +1138,8 @@ parseredir: {
}
} else if (c == '&')
np->type = NFROMFD;
+ else if (c == '>')
+ np->type = NFROMTO;
else {
np->type = NFROM;
pungetc();