diff --git a/src/fuse_getattr.cpp b/src/fuse_getattr.cpp index dfd93df6..a5b4c122 100644 --- a/src/fuse_getattr.cpp +++ b/src/fuse_getattr.cpp @@ -146,7 +146,7 @@ namespace l std::stringc const *basepath; basepath = cache.find(fusepath_); - if(i == NULL) + if(basepath == NULL) { rv = searchFunc_(branches_,fusepath_,&basepaths); if(rv == -1)