mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-11-19 14:36:36 -05:00
mfm_dup.cpp
This commit is contained in:
parent
b5435c0119
commit
056fe774be
1 changed files with 1 additions and 1 deletions
|
|
@ -42,7 +42,7 @@ mfm::dup(const Opts::Dup &opts_)
|
|||
for(const auto &de :
|
||||
stdfs::directory_iterator(de.path().parent_path()))
|
||||
{
|
||||
auto relpath = stdfs::relative(de.path(),srcpath);
|
||||
auto relpath = stdfs::path("/") / stdfs::relative(de.path(),srcpath);
|
||||
|
||||
for(const auto &dstpath : srcpaths)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue