diff options
Diffstat (limited to 'shell/ash.c')
-rw-r--r-- | shell/ash.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/shell/ash.c b/shell/ash.c index 6b70dcde3..10da3ebed 100644 --- a/shell/ash.c +++ b/shell/ash.c | |||
@@ -15014,9 +15014,11 @@ int ash_main(int argc UNUSED_PARAM, char **argv) | |||
15014 | state2: | 15014 | state2: |
15015 | state = 3; | 15015 | state = 3; |
15016 | if ( | 15016 | if ( |
15017 | #if ENABLE_PLATFORM_POSIX | ||
15017 | #ifndef linux | 15018 | #ifndef linux |
15018 | getuid() == geteuid() && getgid() == getegid() && | 15019 | getuid() == geteuid() && getgid() == getegid() && |
15019 | #endif | 15020 | #endif |
15021 | #endif | ||
15020 | iflag | 15022 | iflag |
15021 | ) { | 15023 | ) { |
15022 | const char *shinit = lookupvar("ENV"); | 15024 | const char *shinit = lookupvar("ENV"); |