mirror of
https://github.com/trapexit/mergerfs.git
synced 2025-04-25 06:24:05 +08:00
fs_find_mount_point.cpp
This commit is contained in:
parent
589d5726d3
commit
e3e9e67673
@ -16,7 +16,7 @@ fs::find_mount_point(const ghc::filesystem::path &path_)
|
|||||||
if(ec)
|
if(ec)
|
||||||
can_path = ghc::filesystem::absolute(path_,ec);
|
can_path = ghc::filesystem::absolute(path_,ec);
|
||||||
if(ec)
|
if(ec)
|
||||||
return nonstd::make_unexpected(ec;
|
return nonstd::make_unexpected(ec);
|
||||||
|
|
||||||
rv = fs::lstat(can_path,&initial_st);
|
rv = fs::lstat(can_path,&initial_st);
|
||||||
if(rv == -1)
|
if(rv == -1)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user