svn commit: trunk/busybox/runit

vda at busybox.net vda at busybox.net
Fri Aug 15 21:03:17 UTC 2008


Author: vda
Date: 2008-08-15 14:03:17 -0700 (Fri, 15 Aug 2008)
New Revision: 23086

Log:
chpst: fix "envdir dir" case (bug 4574).



Modified:
   trunk/busybox/runit/chpst.c


Changeset:
Modified: trunk/busybox/runit/chpst.c
===================================================================
--- trunk/busybox/runit/chpst.c	2008-08-15 20:14:23 UTC (rev 23085)
+++ trunk/busybox/runit/chpst.c	2008-08-15 21:03:17 UTC (rev 23086)
@@ -228,7 +228,7 @@
 	}
 
 	// 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;
 	}




More information about the busybox-cvs mailing list