mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-11-19 22:46:34 -05:00
fs_xattr.cpp
This commit is contained in:
parent
ee4a8a18ac
commit
316c971e6f
1 changed files with 1 additions and 1 deletions
|
|
@ -338,7 +338,7 @@ fs::xattr::copy(const int fdin_,
|
|||
map<string,string> attrs;
|
||||
|
||||
rv = fs::xattr::get(fdin_,&attrs);
|
||||
if(rv < 0)
|
||||
if(rv <= 0)
|
||||
return rv;
|
||||
|
||||
return fs::xattr::set(fdout_,attrs);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue