summaryrefslogtreecommitdiffhomepage
path: root/miscutils/less.c
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2005-12-16 08:03:34 +0000
committerRob Landley <rob@landley.net>2005-12-16 08:03:34 +0000
commitef1f7b5058c100990ec2e20484db39658b7b8343 (patch)
tree9f6ead9e70d55f05a0fe82d9116e1b9dfc8299ec /miscutils/less.c
parent4b91b88fcb73e928415bda80090b98b2d3806ff1 (diff)
Ahem. Vladimir checked in a different fix bug didn't close out the bug.
Reverting...
Diffstat (limited to 'miscutils/less.c')
-rw-r--r--miscutils/less.c1
1 files changed, 0 insertions, 1 deletions
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();