summaryrefslogtreecommitdiff
path: root/session.c
diff options
context:
space:
mode:
Diffstat (limited to 'session.c')
-rw-r--r--session.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/session.c b/session.c
index a701fa0cd..a1ee41054 100644
--- a/session.c
+++ b/session.c
@@ -1251,10 +1251,10 @@ do_nologin(struct passwd *pw)
1251 /* /etc/nologin exists. Print its contents if we can and exit. */ 1251 /* /etc/nologin exists. Print its contents if we can and exit. */
1252 logit("User %.100s not allowed because %s exists", pw->pw_name, nl); 1252 logit("User %.100s not allowed because %s exists", pw->pw_name, nl);
1253 if ((f = fopen(nl, "r")) != NULL) { 1253 if ((f = fopen(nl, "r")) != NULL) {
1254 while (fgets(buf, sizeof(buf), f)) 1254 while (fgets(buf, sizeof(buf), f))
1255 fputs(buf, stderr); 1255 fputs(buf, stderr);
1256 fclose(f); 1256 fclose(f);
1257 } 1257 }
1258 exit(254); 1258 exit(254);
1259} 1259}
1260 1260