mirror of
https://github.com/sheumann/hush.git
synced 2025-01-04 22:34:37 +00:00
Remove some unwanted code, patch from Holger Schurig, confirmed by vodz
This commit is contained in:
parent
5cd6461b6f
commit
72f5f02184
@ -86,10 +86,6 @@ int get_console_fd(void)
|
|||||||
{
|
{
|
||||||
int fd;
|
int fd;
|
||||||
|
|
||||||
if (-1 == (fd = open_a_console("/dev/console")))
|
|
||||||
return -1;
|
|
||||||
else
|
|
||||||
return fd;
|
|
||||||
fd = open_a_console(CURRENT_TTY);
|
fd = open_a_console(CURRENT_TTY);
|
||||||
if (fd >= 0)
|
if (fd >= 0)
|
||||||
return fd;
|
return fd;
|
||||||
|
Loading…
Reference in New Issue
Block a user