mirror of
https://code.blicky.net/yorhel/ncdu.git
synced 2026-01-13 01:08:41 -09:00
Use absolute path for matching excluded items
This commit is contained in:
parent
46de3510cd
commit
4ea817568f
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue