From a6a4c372c0f3b6403f787bea5558c3a1e64b1b40 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 10 May 2003 19:56:49 +0000 Subject: [PATCH] (main): Handle argc == 0. --- src/expr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/expr.c b/src/expr.c index ea4b16ea0..d4067cff3 100644 --- a/src/expr.c +++ b/src/expr.c @@ -173,7 +173,7 @@ main (int argc, char **argv) ++argv; } - if (argc == 1) + if (argc <= 1) { error (0, 0, _("too few arguments")); usage (EXIT_FAILURE); -- 2.34.1