mirror of https://github.com/mirror/busybox.git
chpst: fix "envdir dir" case (bug 4574).
parent
ec7e7aec8a
commit
69ed30928e
|
@ -228,7 +228,7 @@ int chpst_main(int argc UNUSED_PARAM, char **argv)
|
|||
}
|
||||
|
||||
// envuidgid?
|
||||
if (ENABLE_ENVUIDGID && applet_name[0] == 'e') {
|
||||
if (ENABLE_ENVUIDGID && applet_name[0] == 'e' && applet_name[3] == 'u') {
|
||||
env_user = *argv++;
|
||||
opt |= OPT_U;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue