From ef1f7b5058c100990ec2e20484db39658b7b8343 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Fri, 16 Dec 2005 08:03:34 +0000 Subject: Ahem. Vladimir checked in a different fix bug didn't close out the bug. Reverting... --- miscutils/less.c | 1 - 1 file changed, 1 deletion(-) (limited to 'miscutils/less.c') diff --git a/miscutils/less.c b/miscutils/less.c index 19051f6f6..0b0dc0c8b 100644 --- a/miscutils/less.c +++ b/miscutils/less.c @@ -239,7 +239,6 @@ static void data_readlines(void) { if(inp == NULL) inp = (inp_stdin) ? bb_xfopen(CURRENT_TTY, "r") : stdin; - if(inp == NULL) bb_perror_msg_and_die("no tty"); if (flags & FLAG_N) add_linenumbers(); -- cgit v1.2.3