mirror of
https://github.com/trapexit/mergerfs.git
synced 2025-06-04 00:53:14 +08:00
fs_find_mount_point.cpp
This commit is contained in:
@ -30,7 +30,7 @@ fs::find_mount_point(const ghc::filesystem::path &path_)
|
|||||||
|
|
||||||
rv = fs::lstat(can_path,&initial_st);
|
rv = fs::lstat(can_path,&initial_st);
|
||||||
if(rv == -1)
|
if(rv == -1)
|
||||||
return nonstd::make_unexpected(::_ecerrno())
|
return nonstd::make_unexpected(::_ecerrno());
|
||||||
|
|
||||||
tmp_path = can_path;
|
tmp_path = can_path;
|
||||||
while(tmp_path != tmp_path.root_path())
|
while(tmp_path != tmp_path.root_path())
|
||||||
|
Reference in New Issue
Block a user