projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
date and time created 88/12/14 16:21:47 by marc
[unix-history]
/
usr
/
src
/
usr.bin
/
login
/
login.c.1
diff --git
a/usr/src/usr.bin/login/login.c.1
b/usr/src/usr.bin/login/login.c.1
index
4c91d6b
..
c2a07cf
100644
(file)
--- a/
usr/src/usr.bin/login/login.c.1
+++ b/
usr/src/usr.bin/login/login.c.1
@@
-11,7
+11,7
@@
char copyright[] =
#endif not lint
#ifndef lint
#endif not lint
#ifndef lint
-static char sccsid[] = "@(#)login.c.1 5.2
2
(Berkeley) %G%";
+static char sccsid[] = "@(#)login.c.1 5.2
3
(Berkeley) %G%";
#endif not lint
/*
#endif not lint
/*
@@
-263,7
+263,7
@@
main(argc, argv)
/*
* If user not super-user, check for logins disabled.
*/
/*
* If user not super-user, check for logins disabled.
*/
- if (pwd->pw_uid != 0 && (nlfd = fopen(nolog, "r"))
> 0
) {
+ if (pwd->pw_uid != 0 && (nlfd = fopen(nolog, "r"))) {
while ((c = getc(nlfd)) != EOF)
putchar(c);
fflush(stdout);
while ((c = getc(nlfd)) != EOF)
putchar(c);
fflush(stdout);