aboutsummaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
Diffstat (limited to 'shell')
-rw-r--r--shell/ash.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/shell/ash.c b/shell/ash.c
index 30f3b558b..7dec5dfc7 100644
--- a/shell/ash.c
+++ b/shell/ash.c
@@ -13654,7 +13654,7 @@ find_command(char *name, struct cmdentry *entry, int act, const char *path)
13654 if (act & DO_ABS) { 13654 if (act & DO_ABS) {
13655 while (stat(name, &statb) < 0 13655 while (stat(name, &statb) < 0
13656#if ENABLE_PLATFORM_MINGW32 13656#if ENABLE_PLATFORM_MINGW32
13657 && (fullname=file_is_win32_executable(name)) == NULL 13657 && (fullname=add_win32_extension(name)) == NULL
13658#endif 13658#endif
13659 ) { 13659 ) {
13660#ifdef SYSV 13660#ifdef SYSV
@@ -13798,10 +13798,6 @@ find_command(char *name, struct cmdentry *entry, int act, const char *path)
13798 e = errno; 13798 e = errno;
13799 goto loop; 13799 goto loop;
13800 } 13800 }
13801 if (!file_is_executable(fullname)) {
13802 e = ENOEXEC;
13803 goto loop;
13804 }
13805 } 13801 }
13806 } 13802 }
13807#else 13803#else