diff options
author | Denys Vlasenko | 2021-10-12 22:39:11 +0200 |
---|---|---|
committer | Denys Vlasenko | 2021-10-13 00:09:07 +0200 |
commit | 62f1eed1e1916afbff8f9ce3f820626348e8b867 (patch) | |
tree | f404ee3cee51b73b80a84c19021464bb54ad0c2c /shell/ash.c | |
parent | c33bbcb92fc255e4bb058e64874289cdeb0701f9 (diff) | |
download | busybox-62f1eed1e1916afbff8f9ce3f820626348e8b867.zip busybox-62f1eed1e1916afbff8f9ce3f820626348e8b867.tar.gz |
hush: in a comment, document what -i might be doing
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
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 2d3cc8a..1982a24 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') |