diff options
-rw-r--r-- | shell/ash.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/shell/ash.c b/shell/ash.c index 31d3c1013..d312cb8cd 100644 --- a/shell/ash.c +++ b/shell/ash.c | |||
@@ -11688,6 +11688,9 @@ evalcommand(union node *cmd, int flags) | |||
11688 | * and/or wait for user input ineligible for NOFORK: | 11688 | * and/or wait for user input ineligible for NOFORK: |
11689 | * for example, "yes" or "rm" (rm -i waits for input). | 11689 | * for example, "yes" or "rm" (rm -i waits for input). |
11690 | */ | 11690 | */ |
11691 | #if ENABLE_PLATFORM_MINGW32 | ||
11692 | argv[0] = (char *)bb_basename(argv[0]); | ||
11693 | #endif | ||
11691 | exitstatus = run_nofork_applet(applet_no, argv); | 11694 | exitstatus = run_nofork_applet(applet_no, argv); |
11692 | environ = sv_environ; | 11695 | environ = sv_environ; |
11693 | /* | 11696 | /* |