aboutsummaryrefslogtreecommitdiff
path: root/runit
diff options
context:
space:
mode:
authorGravatar Denis Vlasenko <vda.linux@googlemail.com>2008-08-15 21:03:17 +0000
committerGravatar Denis Vlasenko <vda.linux@googlemail.com>2008-08-15 21:03:17 +0000
commit69ed30928eeb1c31196361d70e37ca3010acf8e7 (patch)
treee4513d56b0890f706783aedfe9bafd6004d89af1 /runit
parentec7e7aec8a7676141ad61cd9e7f38d9942ba760f (diff)
downloadbusybox-69ed30928eeb1c31196361d70e37ca3010acf8e7.tar.gz
busybox-69ed30928eeb1c31196361d70e37ca3010acf8e7.tar.bz2
chpst: fix "envdir dir" case (bug 4574).
Diffstat (limited to 'runit')
-rw-r--r--runit/chpst.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/runit/chpst.c b/runit/chpst.c
index 6e5180b91..43e8d5f3e 100644
--- a/runit/chpst.c
+++ b/runit/chpst.c
@@ -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;
}