mirror of
https://github.com/sheumann/hush.git
synced 2024-12-21 23:29:34 +00:00
login: fixing my brainfart: xspawn(t_argv) <- was using argv!
This commit is contained in:
parent
3a62a737f7
commit
3211adc184
@ -354,7 +354,7 @@ int login_main(int argc, char **argv)
|
|||||||
xsetenv("LOGIN_UID", utoa(pw->pw_uid));
|
xsetenv("LOGIN_UID", utoa(pw->pw_uid));
|
||||||
xsetenv("LOGIN_GID", utoa(pw->pw_gid));
|
xsetenv("LOGIN_GID", utoa(pw->pw_gid));
|
||||||
xsetenv("LOGIN_SHELL", pw->pw_shell);
|
xsetenv("LOGIN_SHELL", pw->pw_shell);
|
||||||
xspawn(argv); /* NOMMU-friendly */
|
xspawn(t_argv); /* NOMMU-friendly */
|
||||||
/* All variables are unset by setup_environment */
|
/* All variables are unset by setup_environment */
|
||||||
wait(NULL);
|
wait(NULL);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user