mirror of
https://git.busybox.net/busybox.git
synced 2024-12-21 04:13:24 +08: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_GID", utoa(pw->pw_gid));
|
||||
xsetenv("LOGIN_SHELL", pw->pw_shell);
|
||||
xspawn(argv); /* NOMMU-friendly */
|
||||
xspawn(t_argv); /* NOMMU-friendly */
|
||||
/* All variables are unset by setup_environment */
|
||||
wait(NULL);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user