diff --git a/src/fs_find_mount_point.cpp b/src/fs_find_mount_point.cpp index 96c3b117..c8aaf8d0 100644 --- a/src/fs_find_mount_point.cpp +++ b/src/fs_find_mount_point.cpp @@ -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);