fs_find_mount_point.cpp

This commit is contained in:
Antonio SJ Musumeci 2025-04-16 09:08:58 -05:00
parent 9010bfd452
commit b301f34b65

View File

@ -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);