From 3211adc184c8d48d91c1fb59cdba4d17e2b84b1d Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Thu, 12 Apr 2007 20:33:01 +0000 Subject: [PATCH] login: fixing my brainfart: xspawn(t_argv) <- was using argv! --- loginutils/login.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }