Skip to content

Commit

Permalink
ssh agent: fix first start when no .bitwarden-ssh-agent.sock exists (#…
Browse files Browse the repository at this point in the history
…12356)

Co-authored-by: Bernd Schoolmann <mail@quexten.com>
  • Loading branch information
Icelk and quexten authored Dec 12, 2024
1 parent 645d36f commit 6174691
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion apps/desktop/desktop_native/core/src/ssh_agent/unix.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,9 @@ impl BitwardenDesktopAgent {
"[SSH Agent Native Module] Could not remove existing socket file: {}",
e
);
return;
if e.kind() != std::io::ErrorKind::NotFound {
return;
}
}

match UnixListener::bind(sockname) {
Expand Down

0 comments on commit 6174691

Please sign in to comment.