Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.busybox.net/busybox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'shell/ash.c')
-rw-r--r--shell/ash.c5
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)
}
state2:
state = 3;
- if (
+ if (iflag
#ifndef linux
- getuid() == geteuid() && getgid() == getegid() &&
+ && getuid() == geteuid() && getgid() == getegid()
#endif
- iflag
) {
const char *shinit = lookupvar("ENV");
if (shinit != NULL && *shinit != '\0')