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

Use absolute path for matching excluded items

parent 46de3510
No related branches found
No related tags found
No related merge requests found
...@@ -113,7 +113,7 @@ int calc_item(struct dir *par, char *name) { ...@@ -113,7 +113,7 @@ int calc_item(struct dir *par, char *name) {
} }
/* check for excludes and same filesystem */ /* check for excludes and same filesystem */
if(exclude_match(d->name)) if(exclude_match(curpath))
d->flags |= FF_EXL; d->flags |= FF_EXL;
if(calc_smfs && curdev != fs.st_dev) if(calc_smfs && curdev != fs.st_dev)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment