login: fixing my brainfart: xspawn(t_argv) <- was using argv!
authorDenis Vlasenko <vda.linux@googlemail.com>
Thu, 12 Apr 2007 20:33:01 +0000 (20:33 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Thu, 12 Apr 2007 20:33:01 +0000 (20:33 -0000)
loginutils/login.c

index 6a829986e958c7ea99afc62f97d0bfbb1c585143..232c610ccd5ae02bb023875f9a7d53ac717add73 100644 (file)
@@ -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);
                }