From: Denis Vlasenko Date: Thu, 12 Apr 2007 20:33:01 +0000 (-0000) Subject: login: fixing my brainfart: xspawn(t_argv) <- was using argv! X-Git-Tag: 1_6_0~168 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=3211adc184c8d48d91c1fb59cdba4d17e2b84b1d;p=oweals%2Fbusybox.git login: fixing my brainfart: xspawn(t_argv) <- was using argv! --- diff --git a/loginutils/login.c b/loginutils/login.c index 6a829986e..232c610cc 100644 --- a/loginutils/login.c +++ b/loginutils/login.c @@ -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); }