diff options
Diffstat (limited to 'shell')
-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 510a86cab..cbe30a78b 100644 --- a/shell/ash.c +++ b/shell/ash.c | |||
@@ -13841,7 +13841,7 @@ find_command(char *name, struct cmdentry *entry, int act, const char *path) | |||
13841 | entry->u.index = -1; | 13841 | entry->u.index = -1; |
13842 | if (act & DO_ABS) { | 13842 | if (act & DO_ABS) { |
13843 | #if ENABLE_PLATFORM_MINGW32 | 13843 | #if ENABLE_PLATFORM_MINGW32 |
13844 | while ((fullname=add_win32_extension(name)) == NULL || | 13844 | while ((fullname=add_win32_extension(name)) == NULL && |
13845 | stat(name, &statb) < 0 ) { | 13845 | stat(name, &statb) < 0 ) { |
13846 | #else | 13846 | #else |
13847 | while (stat(name, &statb) < 0) { | 13847 | while (stat(name, &statb) < 0) { |