summaryrefslogtreecommitdiff
path: root/src/expr.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/expr.c')
-rw-r--r--src/expr.c2
1 files changed, 1 insertions, 1 deletions
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);