diff options
-rw-r--r-- | shell/ash.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/shell/ash.c b/shell/ash.c index e32731d41..9ed8506ab 100644 --- a/shell/ash.c +++ b/shell/ash.c | |||
@@ -12656,14 +12656,14 @@ options(int *login_sh) | |||
12656 | int val; | 12656 | int val; |
12657 | int c; | 12657 | int c; |
12658 | 12658 | ||
12659 | #if ENABLE_ASH_NOCONSOLE | ||
12660 | noconsole = console_state(); | ||
12661 | #endif | ||
12659 | if (login_sh != NULL) { /* if we came from startup code */ | 12662 | if (login_sh != NULL) { /* if we came from startup code */ |
12660 | minusc = NULL; | 12663 | minusc = NULL; |
12661 | #if ENABLE_PLATFORM_MINGW32 | 12664 | #if ENABLE_PLATFORM_MINGW32 |
12662 | dirarg = NULL; | 12665 | dirarg = NULL; |
12663 | title = NULL; | 12666 | title = NULL; |
12664 | # if ENABLE_ASH_NOCONSOLE | ||
12665 | noconsole = console_state(); | ||
12666 | # endif | ||
12667 | # if ENABLE_SUW32 | 12667 | # if ENABLE_SUW32 |
12668 | delayexit = 0; | 12668 | delayexit = 0; |
12669 | # endif | 12669 | # endif |