mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-10-26 19:01:56 -04:00
mfm_dup.cpp
This commit is contained in:
parent
0ea606a398
commit
52bee524fe
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::path("/") / stdfs::relative(de.path(),srcpath);
|
||||
auto relpath = stdfs::relative(de.path(),srcpath);
|
||||
|
||||
for(const auto &dstpath : srcpaths)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue