diff --git a/src/fuse_link.cpp b/src/fuse_link.cpp index 7cabdf78..2a3c52cb 100644 --- a/src/fuse_link.cpp +++ b/src/fuse_link.cpp @@ -86,6 +86,8 @@ _link_create_path(const Policy::Search &searchFunc_, rv = actionFunc_(ibranches_,oldfusepath_,oldbranches); if(rv < 0) return rv; + if(oldbranches.empty()) + return -ENOENT; newfusedirpath = newfusepath_.parent_path();