diff options
Diffstat (limited to 'shell/ash.c')
-rw-r--r-- | shell/ash.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/shell/ash.c b/shell/ash.c index 2d3cc8a61..1982a24b7 100644 --- a/shell/ash.c +++ b/shell/ash.c | |||
@@ -14657,11 +14657,10 @@ int ash_main(int argc UNUSED_PARAM, char **argv) | |||
14657 | } | 14657 | } |
14658 | state2: | 14658 | state2: |
14659 | state = 3; | 14659 | state = 3; |
14660 | if ( | 14660 | if (iflag |
14661 | #ifndef linux | 14661 | #ifndef linux |
14662 | getuid() == geteuid() && getgid() == getegid() && | 14662 | && getuid() == geteuid() && getgid() == getegid() |
14663 | #endif | 14663 | #endif |
14664 | iflag | ||
14665 | ) { | 14664 | ) { |
14666 | const char *shinit = lookupvar("ENV"); | 14665 | const char *shinit = lookupvar("ENV"); |
14667 | if (shinit != NULL && *shinit != '\0') | 14666 | if (shinit != NULL && *shinit != '\0') |