mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-10-26 19:01:56 -04:00
fs_clonepath.cpp
This commit is contained in:
parent
42658b8a10
commit
6474f7cb27
1 changed files with 1 additions and 0 deletions
|
|
@ -73,6 +73,7 @@ fs::clonepath(const string &srcpath_,
|
|||
if((relpath_ == NULL) || (relpath_[0] == '\0'))
|
||||
return 0;
|
||||
|
||||
dirname = stdfs::path{relpath_}.parent_path();
|
||||
|
||||
dirname = fs::path::dirname(relpath_);
|
||||
if(dirname != "/")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue