From e9b394ea5219ada05d1497b40bc2f1eaa995855c Mon Sep 17 00:00:00 2001 From: Antonio SJ Musumeci Date: Wed, 16 Apr 2025 09:29:46 -0500 Subject: [PATCH] fs_find_mount_point.cpp --- src/fs_find_mount_point.cpp | 2 ++ 1 file changed, 2 insertions(+) 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 {};