summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/tree.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/tree.c b/apps/tree.c
index 73c75ba606..0be77c3b9c 100644
--- a/apps/tree.c
+++ b/apps/tree.c
@@ -224,6 +224,12 @@ static int showdir(char *path, int start)
224 continue; 224 continue;
225 } 225 }
226 226
227 /* Skip FAT volume ID */
228 if (entry->attribute & ATTR_VOLUME_ID) {
229 i--;
230 continue;
231 }
232
227 /* Skip dotfiles if set to skip them */ 233 /* Skip dotfiles if set to skip them */
228 if (!global_settings.show_hidden_files && 234 if (!global_settings.show_hidden_files &&
229 ((entry->d_name[0]=='.') || 235 ((entry->d_name[0]=='.') ||