mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-10-26 19:01:56 -04:00
fs_xattr.cpp
This commit is contained in:
parent
4675d8045b
commit
ee4a8a18ac
1 changed files with 1 additions and 1 deletions
|
|
@ -352,7 +352,7 @@ fs::xattr::copy(const string &from_,
|
|||
map<string,string> attrs;
|
||||
|
||||
rv = fs::xattr::get(from_,&attrs);
|
||||
if(rv < 0)
|
||||
if(rv <= 0)
|
||||
return rv;
|
||||
|
||||
return fs::xattr::set(to_,attrs);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue