summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Landley2005-12-16 08:03:34 +0000
committerRob Landley2005-12-16 08:03:34 +0000
commitef1f7b5058c100990ec2e20484db39658b7b8343 (patch)
tree9f6ead9e70d55f05a0fe82d9116e1b9dfc8299ec
parent4b91b88fcb73e928415bda80090b98b2d3806ff1 (diff)
downloadbusybox-ef1f7b5058c100990ec2e20484db39658b7b8343.zip
busybox-ef1f7b5058c100990ec2e20484db39658b7b8343.tar.gz
Ahem. Vladimir checked in a different fix bug didn't close out the bug.
Reverting...
-rw-r--r--miscutils/less.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/miscutils/less.c b/miscutils/less.c
index 19051f6..0b0dc0c 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();