From 72f5f02184f8b1064e3dd9c8d33e65b64830340c Mon Sep 17 00:00:00 2001 From: Glenn L McGrath Date: Fri, 29 Aug 2003 16:19:03 +0000 Subject: Remove some unwanted code, patch from Holger Schurig, confirmed by vodz --- libbb/get_console.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'libbb/get_console.c') 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; -- cgit v1.2.3