mirror of
https://github.com/trapexit/mergerfs.git
synced 2025-07-13 21:05:34 +08:00
fs_find_mount_point.cpp
This commit is contained in:
@ -18,7 +18,7 @@ fs::find_mount_point(const ghc::filesystem::path &path_)
|
||||
if(rv == -1)
|
||||
return {};
|
||||
|
||||
tmp_path = path_;
|
||||
tmp_path = can_path;
|
||||
while(tmp_path != "/")
|
||||
{
|
||||
rv = fs::lstat(tmp_path.parent_path(),&tmp_st);
|
||||
|
Reference in New Issue
Block a user