mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-10-26 19:01:56 -04:00
Auto-commit fuse_chown.cpp
This commit is contained in:
parent
d9f8c6fd20
commit
89f4e8a76b
1 changed files with 2 additions and 0 deletions
|
|
@ -92,6 +92,8 @@ _chown(const Policy::Action &actionFunc_,
|
|||
rv = searchFunc_(branches_,fusepath_,branches);
|
||||
if(rv < 0)
|
||||
return rv;
|
||||
if(branches.empty())
|
||||
return -ENOENT;
|
||||
|
||||
return prv.get_error(branches[0]->path);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue