diff options
-rw-r--r-- | shell/ash.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/ash.c b/shell/ash.c index 8d7c4ca75..2c1779f32 100644 --- a/shell/ash.c +++ b/shell/ash.c | |||
@@ -5111,7 +5111,7 @@ redirect(union node *redir, int flags) | |||
5111 | do { | 5111 | do { |
5112 | sv_pos++; | 5112 | sv_pos++; |
5113 | #if ENABLE_ASH_BASH_COMPAT | 5113 | #if ENABLE_ASH_BASH_COMPAT |
5114 | if (redir->nfile.type == NTO2) | 5114 | if (tmp->nfile.type == NTO2) |
5115 | sv_pos++; | 5115 | sv_pos++; |
5116 | #endif | 5116 | #endif |
5117 | tmp = tmp->nfile.next; | 5117 | tmp = tmp->nfile.next; |