1
0
mirror of https://github.com/bitwarden/browser.git synced 2025-01-17 20:31:50 +01:00

ssh agent: fix first start when no .bitwarden-ssh-agent.sock exists (#12356)

Co-authored-by: Bernd Schoolmann <mail@quexten.com>
This commit is contained in:
Icelk 2024-12-12 13:45:37 +01:00 committed by GitHub
parent 645d36f465
commit 617469127a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -65,8 +65,10 @@ impl BitwardenDesktopAgent {
"[SSH Agent Native Module] Could not remove existing socket file: {}", "[SSH Agent Native Module] Could not remove existing socket file: {}",
e e
); );
if e.kind() != std::io::ErrorKind::NotFound {
return; return;
} }
}
match UnixListener::bind(sockname) { match UnixListener::bind(sockname) {
Ok(listener) => { Ok(listener) => {