diff options
Diffstat (limited to 'package/sash/src/ls.c')
-rw-r--r-- | package/sash/src/ls.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/package/sash/src/ls.c b/package/sash/src/ls.c index eae185240..5f59b6fb6 100644 --- a/package/sash/src/ls.c +++ b/package/sash/src/ls.c @@ -74,7 +74,7 @@ do_ls(argc, argv) listsize = LISTSIZE; } listused = 0; - + flags = 0; if ((argc > 1) && (argv[1][0] == '-')) { @@ -135,7 +135,7 @@ do_ls(argc, argv) printf("\n%s:\n", name); while ((dp = readdir(dirp)) != NULL) { - + if ((dp->d_name[0] == '.') && !(flags & LSF_ALL)) continue; |