diff options
author | Jim Meyering <jim@meyering.net> | 2003-05-10 19:56:49 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2003-05-10 19:56:49 +0000 |
commit | a6a4c372c0f3b6403f787bea5558c3a1e64b1b40 (patch) | |
tree | 65c397c0abf83fbfbe153a2f11949569dc53e6fc | |
parent | 74de8e29a83d228a527d45d551c6f84bb79daca7 (diff) | |
download | coreutils-a6a4c372c0f3b6403f787bea5558c3a1e64b1b40.tar.xz |
(main): Handle argc == 0.
-rw-r--r-- | src/expr.c | 2 |
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); |