diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/sort.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sort.c b/src/sort.c index 0357c8e33..76627ff61 100644 --- a/src/sort.c +++ b/src/sort.c @@ -2265,7 +2265,7 @@ main (int argc, char **argv) long_options, NULL)) == -1)) { - if (argc < optind) + if (argc <= optind) break; files[nfiles++] = argv[optind++]; } |