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
6ef6198719
commit
1ca97602f6
1 changed files with 2 additions and 1 deletions
|
|
@ -68,11 +68,12 @@ fs::clonepath(const string &srcpath_,
|
|||
struct stat st;
|
||||
string dstpath;
|
||||
string srcpath;
|
||||
string dirname;
|
||||
stdfs::path dirname;
|
||||
|
||||
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