From 4b76967c587d903e89d771287a9b46aa591df9d6 Mon Sep 17 00:00:00 2001 From: neuronull <9162534+neuronull@users.noreply.github.com> Date: Thu, 4 Sep 2025 16:21:10 -0600 Subject: [PATCH] use helper fn --- apps/desktop/desktop_native/core/src/ssh_agent/unix.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/desktop/desktop_native/core/src/ssh_agent/unix.rs b/apps/desktop/desktop_native/core/src/ssh_agent/unix.rs index 57bc2f06469..1ef7cdb42f3 100644 --- a/apps/desktop/desktop_native/core/src/ssh_agent/unix.rs +++ b/apps/desktop/desktop_native/core/src/ssh_agent/unix.rs @@ -121,7 +121,7 @@ fn get_legacy_default_socket_path() -> Result { 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); }