commit | 5feaaefaf26167feb180bf3531cb3f700e473e2a | [log] [tgz] |
---|---|---|
author | Kevin Steves <stevesk@pobox.com> | Tue Apr 23 20:45:55 2002 +0000 |
committer | Kevin Steves <stevesk@pobox.com> | Tue Apr 23 20:45:55 2002 +0000 |
tree | 67b07cf420511c1b92d2e72d0eb04c75401043d6 | |
parent | 03df6cd83c6392d43e4d9f8dce4e15c8239c0872 [diff] [blame] |
- (stevesk) [acconfig.h configure.ac session.c] LOGIN_NO_ENDOPT for HP-UX
diff --git a/session.c b/session.c index 6be7f99..20e6a88 100644 --- a/session.c +++ b/session.c
@@ -1117,7 +1117,11 @@ #ifdef xxxLOGIN_NEEDS_TERM (s->term ? s->term : "unknown"), #endif /* LOGIN_NEEDS_TERM */ +#ifdef LOGIN_NO_ENDOPT + "-p", "-f", pw->pw_name, (char *)NULL); +#else "-p", "-f", "--", pw->pw_name, (char *)NULL); +#endif /* Login couldn't be executed, die. */