This commit is contained in:
gfleury 2014-12-21 21:12:00 -02:00
parent 43146158aa
commit 2409907c6b

1
main.c
View File

@ -571,6 +571,7 @@ int change_user_group () {
setenv("USER", pw->pw_name, 1); setenv("USER", pw->pw_name, 1);
setenv("HOME", pw->pw_dir, 1); setenv("HOME", pw->pw_dir, 1);
setenv("SHELL", pw->pw_shell, 1); setenv("SHELL", pw->pw_shell, 1);
}
} }
return 0; return 0;
} }