mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-10-26 19:01:56 -04:00
fs_clonepath.cpp
This commit is contained in:
parent
412ed6bb4c
commit
1be94b72c4
1 changed files with 1 additions and 1 deletions
|
|
@ -77,7 +77,7 @@ fs::clonepath(const string &srcpath_,
|
|||
relpath = '/' + relpath;
|
||||
|
||||
dirname = relpath.parent_path();
|
||||
if(dirname == dirname.root_path())
|
||||
if(dirname != dirname.root_path())
|
||||
{
|
||||
rv = fs::clonepath(srcpath_,dstpath_,dirname,return_metadata_errors_);
|
||||
if(rv < 0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue