summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko2018-04-15 13:14:51 +0200
committerDenys Vlasenko2018-04-15 13:14:51 +0200
commit50aea2786b275c1f1d5f1b2df85b519dbaef6188 (patch)
tree380c12843057546bf2ce91a36f6cb11b73c8d839
parent36941503bd8e28a1fac13edffc3ffc84346b32c5 (diff)
downloadbusybox-50aea2786b275c1f1d5f1b2df85b519dbaef6188.zip
busybox-50aea2786b275c1f1d5f1b2df85b519dbaef6188.tar.gz
less: remove unnecessary message
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r--miscutils/less.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/miscutils/less.c b/miscutils/less.c
index 3bce932..6029b68 100644
--- a/miscutils/less.c
+++ b/miscutils/less.c
@@ -1856,7 +1856,6 @@ int less_main(int argc, char **argv)
if (!num_files) {
if (isatty(STDIN_FILENO)) {
/* Just "less"? No args and no redirection? */
- bb_error_msg("missing filename");
bb_show_usage();
}
} else {