summaryrefslogtreecommitdiff
path: root/session.c
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@dtucker.net>2018-02-13 08:25:46 +1100
committerDarren Tucker <dtucker@dtucker.net>2018-02-13 08:25:46 +1100
commit19edfd4af746bedf0df17f01953ba8c6d3186eb7 (patch)
tree7252818d44a26e255c3597da31ef3b2d5ec2fee8 /session.c
parentfbfa6f980d7460b3e12b0ce88ed3b6018edf4711 (diff)
Whitespace sync with upstream.
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