summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-04-12 20:33:01 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-04-12 20:33:01 +0000
commit3211adc184c8d48d91c1fb59cdba4d17e2b84b1d (patch)
treee7a31991a6a3e2fa487d19b872c6e62575d7e6a1
parent3a62a737f7df06b1762c37b10be0d3985ab9fc1a (diff)
login: fixing my brainfart: xspawn(t_argv) <- was using argv!
-rw-r--r--loginutils/login.c2
1 files changed, 1 insertions, 1 deletions
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);
}