aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--shell/ash.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/shell/ash.c b/shell/ash.c
index 578904478..34d5af446 100644
--- a/shell/ash.c
+++ b/shell/ash.c
@@ -5455,6 +5455,9 @@ openredirect(union node *redir)
5455 f = open(fname, O_WRONLY|O_CREAT|O_APPEND, 0666); 5455 f = open(fname, O_WRONLY|O_CREAT|O_APPEND, 0666);
5456 if (f < 0) 5456 if (f < 0)
5457 goto ecreate; 5457 goto ecreate;
5458#if ENABLE_PLATFORM_MINGW32
5459 lseek(f, 0, SEEK_END);
5460#endif
5458 break; 5461 break;
5459 default: 5462 default:
5460#if DEBUG 5463#if DEBUG