diff options
-rw-r--r-- | shell/shell_common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/shell_common.c b/shell/shell_common.c index 0b9d4ebe6..2d5c0db0f 100644 --- a/shell/shell_common.c +++ b/shell/shell_common.c | |||
@@ -175,7 +175,7 @@ shell_builtin_read(void FAST_FUNC (*setvar)(const char *name, const char *val), | |||
175 | break; | 175 | break; |
176 | } | 176 | } |
177 | c = buffer[bufpos]; | 177 | c = buffer[bufpos]; |
178 | if (c == '\0') | 178 | if (c == '\0' || (ENABLE_PLATFORM_MINGW32 && c == '\r')) |
179 | continue; | 179 | continue; |
180 | if (backslash) { | 180 | if (backslash) { |
181 | backslash = 0; | 181 | backslash = 0; |