1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-06 11:43:51 +00:00

use helper fn

This commit is contained in:
neuronull
2025-09-04 16:21:10 -06:00
parent 7ae7bac125
commit 4b76967c58

View File

@@ -121,7 +121,7 @@ fn get_legacy_default_socket_path() -> Result<PathBuf, anyhow::Error> {
return Err(anyhow!("Could not determine home directory."));
};
if std::env::var("container") == Ok("flatpak".to_string()) {
if is_flatpak() {
ssh_agent_directory = ssh_agent_directory.join(FLATPACK_DATA_DIR);
}