Skip to content
Snippets Groups Projects
Commit dc8b6cfa authored by Yorhel's avatar Yorhel
Browse files

Fix --exclude-caches

Broken in 77aca35f
Fixes #134
parent bb7b4196
No related branches found
No related tags found
No related merge requests found
...@@ -212,7 +212,7 @@ static int dir_scan_item(const char *name) { ...@@ -212,7 +212,7 @@ static int dir_scan_item(const char *name) {
} }
if(cachedir_tags && (buf_dir->flags & FF_DIR) && !(buf_dir->flags & (FF_ERR|FF_EXL|FF_OTHFS))) if(cachedir_tags && (buf_dir->flags & FF_DIR) && !(buf_dir->flags & (FF_ERR|FF_EXL|FF_OTHFS)))
if(has_cachedir_tag(buf_dir->name)) { if(has_cachedir_tag(name)) {
buf_dir->flags |= FF_EXL; buf_dir->flags |= FF_EXL;
buf_dir->size = buf_dir->asize = 0; buf_dir->size = buf_dir->asize = 0;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment