diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/ls.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -698,7 +698,10 @@ main (int argc, char **argv) if (i < argc) dir_defaulted = 0; for (; i < argc; i++) - gobble_file (argv[i], 1, ""); + { + strip_trailing_slashes (argv[i]); + gobble_file (argv[i], 1, ""); + } if (dir_defaulted) { |