diff options
author | Ben Lindstrom <mouring@eviladmin.org> | 2002-06-07 14:49:56 +0000 |
---|---|---|
committer | Ben Lindstrom <mouring@eviladmin.org> | 2002-06-07 14:49:56 +0000 |
commit | 378a417389beef8a2e312bbbb0269b9f2ab379f6 (patch) | |
tree | bde3d911ac111a5c7481cb579c84e26e14e8bb01 /session.c | |
parent | 3545352dc4ae245ebadc3e11ca250248ce2b99e3 (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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1118,7 +1118,7 @@ launch_login(struct passwd *pw, const char *hostname) | |||
1118 | { | 1118 | { |
1119 | /* Launch login(1). */ | 1119 | /* Launch login(1). */ |
1120 | 1120 | ||
1121 | execl("/usr/bin/login", "login", "-h", hostname, | 1121 | execl(LOGIN_PROGRAM, "login", "-h", hostname, |
1122 | #ifdef xxxLOGIN_NEEDS_TERM | 1122 | #ifdef xxxLOGIN_NEEDS_TERM |
1123 | (s->term ? s->term : "unknown"), | 1123 | (s->term ? s->term : "unknown"), |
1124 | #endif /* LOGIN_NEEDS_TERM */ | 1124 | #endif /* LOGIN_NEEDS_TERM */ |