mirror of
https://github.com/bitwarden/browser
synced 2025-12-12 14:23:32 +00: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:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user