less: remove unnecessary message

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko 2018-04-15 13:14:51 +02:00
parent 36941503bd
commit 50aea2786b

View File

@ -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 {