mirror of
https://github.com/sheumann/hush.git
synced 2025-01-15 18:30:43 +00:00
A missing /etc/securetty is not an error when checking the tty name - the
comment is right, but the code was wrong ..
This commit is contained in:
parent
09adaca37d
commit
69b5756594
@ -325,7 +325,7 @@ static int check_tty ( const char *tty )
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
/* A missing securetty file is not an error. */
|
/* A missing securetty file is not an error. */
|
||||||
return 0;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user