Fix UID, GROUPS setting

This commit is contained in:
Jeremy Soller
2017-01-10 09:46:02 -07:00
parent 6208a242f6
commit 13ef8943df
+2 -2
View File
@@ -75,8 +75,8 @@ pub fn main() {
command.current_dir(passwd.home);
command.env("USER", &user);
command.uid("UID", passwd.uid);
command.uid("GROUPS", passwd.gid);
command.env("UID", format!("{}", passwd.uid));
command.env("GROUPS", format!("{}", passwd.gid));
command.env("HOME", passwd.home);
command.env("SHELL", passwd.shell);