mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-11-20 06:56:27 -05:00
fs_clonepath.cpp
This commit is contained in:
parent
1b15ffce94
commit
baf78b7578
1 changed files with 1 additions and 1 deletions
|
|
@ -74,7 +74,7 @@ fs::clonepath(const string &srcpath_,
|
|||
|
||||
relpath = relpath_;
|
||||
if(relpath_[0] != '/')
|
||||
relpath = "/" + relpath;
|
||||
relpath = "/" / relpath;
|
||||
|
||||
dirname = relpath.parent_path();
|
||||
if(dirname != dirname.root_path())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue