Skip to content

Commit

Permalink
[platform] fixes the lint.
Browse files Browse the repository at this point in the history
  • Loading branch information
georgeliao committed Feb 7, 2025
1 parent cf32c73 commit 01c4e26
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/platform/platform_unix.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ std::filesystem::path mp::platform::Platform::get_root_cert_path() const
constexpr auto* root_cert_file_name = "multipass_root_cert.pem";

return mp::utils::in_multipass_snap()
? std::filesystem::path{mp::utils::snap_common_dir().toStdString()} /
"data/multipassd/certificates" / root_cert_file_name
? std::filesystem::path{mp::utils::snap_common_dir().toStdString()} / "data/multipassd/certificates" /
root_cert_file_name
: std::filesystem::path{"/usr/local/share/ca-certificates"} / root_cert_file_name;
}

0 comments on commit 01c4e26

Please sign in to comment.