mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-11-26 18:06:27 -05:00
Cleanup copy functions (#1500)
This commit is contained in:
parent
e8cd74cab0
commit
33fc26f81f
12 changed files with 164 additions and 151 deletions
|
|
@ -229,7 +229,7 @@ _copy_files(const std::string &src_,
|
|||
if(src_ == dst.path)
|
||||
continue;
|
||||
|
||||
rv = fs::copyfile(src_,dst.path,FS_COPYFILE_NONE);
|
||||
rv = fs::copyfile(src_,dst.path,{.cleanup_failure=false});
|
||||
if(rv < 0)
|
||||
fmt::print(stderr,
|
||||
"ERROR: failed copying to {} - {}",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue