fs_clonepath.cpp

This commit is contained in:
Antonio SJ Musumeci 2025-09-01 19:31:43 -05:00
parent 412ed6bb4c
commit 1be94b72c4

View file

@ -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)