diff --git a/src/fs_find_mount_point.cpp b/src/fs_find_mount_point.cpp index e54b9aec..d31f4fbe 100644 --- a/src/fs_find_mount_point.cpp +++ b/src/fs_find_mount_point.cpp @@ -21,6 +21,7 @@ fs::find_mount_point(const ghc::filesystem::path &path_) if(rv == -1) return {}; + tmp_path = tmp_path.parent_path(); } return 0;