(main): Fix off-by-one error introduced with last change.
authorJim Meyering <jim@meyering.net>
Sun, 22 Apr 2001 09:15:17 +0000 (09:15 +0000)
committerJim Meyering <jim@meyering.net>
Sun, 22 Apr 2001 09:15:17 +0000 (09:15 +0000)
src/ls.c

index 7eb50aa64c3da565b46def88ccb45f460de857ec..45ab5cb254d11be7dcd839e91ab4be2d86468d95 100644 (file)
--- a/src/ls.c
+++ b/src/ls.c
@@ -895,7 +895,7 @@ main (int argc, char **argv)
   clear_files ();
 
   n_files = argc - i;
-  if (0 <= n_files)
+  if (0 < n_files)
     dir_defaulted = 0;
 
   for (; i < argc; i++)