summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2009-05-02 10:45:33 +0200
committerYorhel <git@yorhel.nl>2009-05-02 10:45:33 +0200
commit4ea817568f2487ede8a7ea98c6d2d7e881e63aea (patch)
tree9f47834f7247ddf6417275ba7bb93fbcf0bc2e44
parent46de3510cdc2da8f15f3b73c29dbfbd27a7faca7 (diff)
Use absolute path for matching excluded items
-rw-r--r--src/calc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/calc.c b/src/calc.c
index 6133924..a8198bf 100644
--- a/src/calc.c
+++ b/src/calc.c
@@ -113,7 +113,7 @@ int calc_item(struct dir *par, char *name) {
}
/* check for excludes and same filesystem */
- if(exclude_match(d->name))
+ if(exclude_match(curpath))
d->flags |= FF_EXL;
if(calc_smfs && curdev != fs.st_dev)