fs_find_mount_point.cpp

This commit is contained in:
Antonio SJ Musumeci 2025-04-16 09:28:23 -05:00
parent c8b846f91c
commit 5ea473ae9d

View File

@ -13,6 +13,8 @@ fs::find_mount_point(const ghc::filesystem::path &path_)
ghc::filesystem::path tmp_path;
can_path = ghc::filesystem::weakly_canonical(path_,ec);
if(ec)
return {};
rv = fs::lstat(can_path,&initial_st);
if(rv == -1)