mirror of
https://github.com/sheumann/hush.git
synced 2024-09-12 00:55:11 +00:00
A missing securetty file is not an error.
-Erik
This commit is contained in:
parent
e356883ffb
commit
f870148a04
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user