diff --git a/src/fs_find_mount_point.cpp b/src/fs_find_mount_point.cpp index 6e1d4790..28df8f26 100644 --- a/src/fs_find_mount_point.cpp +++ b/src/fs_find_mount_point.cpp @@ -14,6 +14,7 @@ fs::find_mount_point(const ghc::filesystem::path &path_) if(rv == -1) return -1; + tmp_path = path_.parent_path(); while(path return 0;