summaryrefslogtreecommitdiff
path: root/session.c
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2002-06-07 14:49:56 +0000
committerBen Lindstrom <mouring@eviladmin.org>2002-06-07 14:49:56 +0000
commit378a417389beef8a2e312bbbb0269b9f2ab379f6 (patch)
treebde3d911ac111a5c7481cb579c84e26e14e8bb01 /session.c
parent3545352dc4ae245ebadc3e11ca250248ce2b99e3 (diff)
- (bal) use 'LOGIN_PROGRAM' not '/usr/bin/login' in session.c patch by
Bertrand.Velle@apogee-com.fr
Diffstat (limited to 'session.c')
-rw-r--r--session.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/session.c b/session.c
index 5f5843a3..8c6cdada 100644
--- a/session.c
+++ b/session.c
@@ -1118,7 +1118,7 @@ launch_login(struct passwd *pw, const char *hostname)
{
/* Launch login(1). */
- execl("/usr/bin/login", "login", "-h", hostname,
+ execl(LOGIN_PROGRAM, "login", "-h", hostname,
#ifdef xxxLOGIN_NEEDS_TERM
(s->term ? s->term : "unknown"),
#endif /* LOGIN_NEEDS_TERM */