diff --git a/src/fuse_getattr.cpp b/src/fuse_getattr.cpp index 8773fef9..e22ef02b 100644 --- a/src/fuse_getattr.cpp +++ b/src/fuse_getattr.cpp @@ -146,7 +146,7 @@ namespace l nonstd::optional basepath; basepath = cache.find(fusepath_); - if(basepath == NULL) + if(!basepath) { rv = searchFunc_(branches_,fusepath_,&basepaths); if(rv == -1)