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:
parent
645d36f465
commit
617469127a
@ -65,7 +65,9 @@ impl BitwardenDesktopAgent {
|
|||||||
"[SSH Agent Native Module] Could not remove existing socket file: {}",
|
"[SSH Agent Native Module] Could not remove existing socket file: {}",
|
||||||
e
|
e
|
||||||
);
|
);
|
||||||
return;
|
if e.kind() != std::io::ErrorKind::NotFound {
|
||||||
|
return;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
match UnixListener::bind(sockname) {
|
match UnixListener::bind(sockname) {
|
||||||
|
Loading…
Reference in New Issue
Block a user