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
97c6964415
commit
a4663bd546
1 changed files with 3 additions and 0 deletions
|
|
@ -67,10 +67,13 @@ fs::clonepath(const string &srcpath_,
|
|||
string dstpath;
|
||||
string srcpath;
|
||||
string dirname;
|
||||
stdfs::path relapth;
|
||||
|
||||
if((relpath_ == NULL) || (relpath_[0] == '\0'))
|
||||
return 0;
|
||||
|
||||
|
||||
|
||||
dirname = fs::path::dirname(relpath_);
|
||||
if(dirname != "/")
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue