[BusyBox-cvs] busybox/loginutils login.c,1.7,1.8

Robert Griebl sandman at busybox.net
Tue Dec 3 19:54:15 UTC 2002


Update of /var/cvs/busybox/loginutils
In directory winder:/tmp/cvs-serv5829

Modified Files:
	login.c 
Log Message:
A missing /etc/securetty is not an error when checking the tty name - the
comment is right, but the code was wrong ..


Index: login.c
===================================================================
RCS file: /var/cvs/busybox/loginutils/login.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- login.c	14 Nov 2002 10:58:02 -0000	1.7
+++ login.c	3 Dec 2002 19:54:12 -0000	1.8
@@ -325,7 +325,7 @@
 		return 0;
 	}
 	/* A missing securetty file is not an error. */
-	return 0;
+	return 1;
 }
 
 #endif




More information about the busybox-cvs mailing list