diff --git a/src/fuse_getattr.cpp b/src/fuse_getattr.cpp index ae7f6ba8..7a398c00 100644 --- a/src/fuse_getattr.cpp +++ b/src/fuse_getattr.cpp @@ -155,6 +155,8 @@ namespace l fullpath = fs::path::make(i->second,fusepath_); rv = l::getattr(fullpath,followsymlinks_,st_); + if(rv == 0) + break; if((rv == -1) && (errno != ENOENT)) break;