mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-10-26 19:01:56 -04:00
Auto-commit fuse_link.cpp
This commit is contained in:
parent
5beeedda24
commit
0aeecc7d46
1 changed files with 2 additions and 0 deletions
|
|
@ -163,6 +163,8 @@ _link_preserve_path(const Policy::Action &actionFunc_,
|
|||
rv = actionFunc_(branches_,oldfusepath_,oldbranches);
|
||||
if(rv < 0)
|
||||
return rv;
|
||||
if(oldbranches.empty())
|
||||
return -ENOENT;
|
||||
|
||||
return ::_link_preserve_path_loop(oldbranches,
|
||||
oldfusepath_,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue