diff --git a/src/fs_find_mount_point.cpp b/src/fs_find_mount_point.cpp index 7e8caca0..f9e68703 100644 --- a/src/fs_find_mount_point.cpp +++ b/src/fs_find_mount_point.cpp @@ -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) + can_path = ghc::filesystem::absolute(path_,ec); if(ec) return {};