chpst: fix "envdir dir" case (bug 4574).
This commit is contained in:
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
Block a user