A missing /etc/securetty is not an error when checking the tty name - the
comment is right, but the code was wrong ..
diff --git a/loginutils/login.c b/loginutils/login.c
index 3050c4c..4a7f13a 100644
--- a/loginutils/login.c
+++ b/loginutils/login.c
@@ -325,7 +325,7 @@
 		return 0;
 	}
 	/* A missing securetty file is not an error. */
-	return 0;
+	return 1;
 }
 
 #endif