diff --git a/src/fuse_chmod.cpp b/src/fuse_chmod.cpp index d438dce1..a6f2edb8 100644 --- a/src/fuse_chmod.cpp +++ b/src/fuse_chmod.cpp @@ -89,7 +89,7 @@ _chmod(const Policy::Action &actionFunc_, if(rv < 0) return rv; if(branches.empty()) - return prv.errors[0].rv; + return -ENOENT; return prv.get_error(branches[0]->path); }