projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec7e7ae
)
chpst: fix "envdir dir" case (bug 4574).
author
Denis Vlasenko
<vda.linux@googlemail.com>
Fri, 15 Aug 2008 21:03:17 +0000
(21:03 -0000)
committer
Denis Vlasenko
<vda.linux@googlemail.com>
Fri, 15 Aug 2008 21:03:17 +0000
(21:03 -0000)
runit/chpst.c
patch
|
blob
|
history
diff --git
a/runit/chpst.c
b/runit/chpst.c
index 6e5180b913ab053bf6593a8631ffc34e47d574be..43e8d5f3e5534e5333cc8138c4465fd8939d2c1f 100644
(file)
--- 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;
}