summaryrefslogtreecommitdiff
path: root/session.c
diff options
context:
space:
mode:
Diffstat (limited to 'session.c')
-rw-r--r--session.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/session.c b/session.c
index 6be7f9929..20e6a889f 100644
--- a/session.c
+++ b/session.c
@@ -1117,7 +1117,11 @@ launch_login(struct passwd *pw, const char *hostname)
1117#ifdef xxxLOGIN_NEEDS_TERM 1117#ifdef xxxLOGIN_NEEDS_TERM
1118 (s->term ? s->term : "unknown"), 1118 (s->term ? s->term : "unknown"),
1119#endif /* LOGIN_NEEDS_TERM */ 1119#endif /* LOGIN_NEEDS_TERM */
1120#ifdef LOGIN_NO_ENDOPT
1121 "-p", "-f", pw->pw_name, (char *)NULL);
1122#else
1120 "-p", "-f", "--", pw->pw_name, (char *)NULL); 1123 "-p", "-f", "--", pw->pw_name, (char *)NULL);
1124#endif
1121 1125
1122 /* Login couldn't be executed, die. */ 1126 /* Login couldn't be executed, die. */
1123 1127