From: Eric Andersen Date: Thu, 14 Nov 2002 10:58:17 +0000 (-0000) Subject: A missing securetty file is not an error. X-Git-Tag: 1_00_pre1~448 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=f870148a04dae35458c29f78ff082bf573ee8bcb;p=oweals%2Fbusybox.git A missing securetty file is not an error. -Erik --- diff --git a/loginutils/login.c b/loginutils/login.c index cda29f187..3050c4c9c 100644 --- a/loginutils/login.c +++ b/loginutils/login.c @@ -324,10 +324,8 @@ static int check_tty ( const char *tty ) fclose(fp); return 0; } - else { - syslog ( LOG_WARNING, "cannot open securetty file.\n" ); - return 1; - } + /* A missing securetty file is not an error. */ + return 0; } #endif