mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-11-21 23:46:26 -05:00
Auto-commit fuse_chown.cpp
This commit is contained in:
parent
35c0e6d635
commit
6b7b614733
1 changed files with 2 additions and 0 deletions
|
|
@ -78,6 +78,8 @@ _chown(const Policy::Action &actionFunc_,
|
|||
rv = actionFunc_(branches_,fusepath_,branches);
|
||||
if(rv < 0)
|
||||
return rv;
|
||||
if(branches.empty())
|
||||
return -ENOENT;
|
||||
|
||||
::_chown_loop(branches,fusepath_,uid_,gid_,&prv);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue