diff --git a/src/fuse_getattr.cpp b/src/fuse_getattr.cpp index eb634baa..276da42f 100644 --- a/src/fuse_getattr.cpp +++ b/src/fuse_getattr.cpp @@ -143,7 +143,7 @@ namespace l static PolicyCache cache(1024*1024); basepath = cache.find(fusepath_); - if(basepath == NULL) + if(basepath.get().empty()) { rv = searchFunc_(branches_,fusepath_,&basepaths); if(rv == -1)