aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)
228 } 228 }
229 229
230 // envuidgid? 230 // envuidgid?
231 if (ENABLE_ENVUIDGID && applet_name[0] == 'e') { 231 if (ENABLE_ENVUIDGID && applet_name[0] == 'e' && applet_name[3] == 'u') {
232 env_user = *argv++; 232 env_user = *argv++;
233 opt |= OPT_U; 233 opt |= OPT_U;
234 } 234 }