A missing securetty file is not an error.

-Erik
1_00_stable_10817
Eric Andersen 2002-11-14 10:58:17 +00:00
parent e356883ffb
commit f870148a04
1 changed files with 2 additions and 4 deletions

View File

@ -324,10 +324,8 @@ static int check_tty ( const char *tty )
fclose(fp); fclose(fp);
return 0; return 0;
} }
else { /* A missing securetty file is not an error. */
syslog ( LOG_WARNING, "cannot open securetty file.\n" ); return 0;
return 1;
}
} }
#endif #endif