aboutsummaryrefslogtreecommitdiff
path: root/libbb
diff options
context:
space:
mode:
Diffstat (limited to 'libbb')
-rw-r--r--libbb/get_console.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/libbb/get_console.c b/libbb/get_console.c
index 1b24ceb57..9eb4190a9 100644
--- a/libbb/get_console.c
+++ b/libbb/get_console.c
@@ -86,10 +86,6 @@ int get_console_fd(void)
{
int fd;
- if (-1 == (fd = open_a_console("/dev/console")))
- return -1;
- else
- return fd;
fd = open_a_console(CURRENT_TTY);
if (fd >= 0)
return fd;