diff options
author | Darren Tucker <dtucker@dtucker.net> | 2018-02-13 08:25:46 +1100 |
---|---|---|
committer | Darren Tucker <dtucker@dtucker.net> | 2018-02-13 08:25:46 +1100 |
commit | 19edfd4af746bedf0df17f01953ba8c6d3186eb7 (patch) | |
tree | 7252818d44a26e255c3597da31ef3b2d5ec2fee8 /session.c | |
parent | fbfa6f980d7460b3e12b0ce88ed3b6018edf4711 (diff) |
Whitespace sync with upstream.
Diffstat (limited to 'session.c')
-rw-r--r-- | session.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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 | ||