diff options
-rw-r--r-- | shell/ash.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/shell/ash.c b/shell/ash.c index 5f231385a..8bbc19d1f 100644 --- a/shell/ash.c +++ b/shell/ash.c | |||
@@ -12821,11 +12821,16 @@ options(int *login_sh) | |||
12821 | if (val && (c == '-')) { /* long options */ | 12821 | if (val && (c == '-')) { /* long options */ |
12822 | if (strcmp(p, "login") == 0) { | 12822 | if (strcmp(p, "login") == 0) { |
12823 | *login_sh = 1; | 12823 | *login_sh = 1; |
12824 | #if ENABLE_PLATFORM_MINGW32 | ||
12825 | break; | ||
12826 | #endif | ||
12824 | } | 12827 | } |
12825 | /* TODO: --noprofile: e.g. if I want to run emergency shell from sulogin, | 12828 | /* TODO: --noprofile: e.g. if I want to run emergency shell from sulogin, |
12826 | * I want minimal/no shell init scripts - but it insists on running it as "-ash"... | 12829 | * I want minimal/no shell init scripts - but it insists on running it as "-ash"... |
12827 | */ | 12830 | */ |
12831 | #if !ENABLE_PLATFORM_MINGW32 | ||
12828 | break; | 12832 | break; |
12833 | #endif | ||
12829 | } | 12834 | } |
12830 | } | 12835 | } |
12831 | if (c == 'o') { | 12836 | if (c == 'o') { |