mfm_dup.cpp

This commit is contained in:
Antonio SJ Musumeci 2025-09-01 19:48:43 -05:00
parent 239f27ec6a
commit 21d67a903c

View file

@ -59,8 +59,8 @@ mfm::dup(const Opts::Dup &opts_)
fs::clonepath(srcpath,
dstpath,
relpath.parent_path());
fs::copyfile(srcpath / relpath,
dstpath / relpath,
fs::copyfile(srcpath / relpath.relative_path(),
dstpath / relpath.relative_path(),
{.cleanup_failure=false});
return;
}