mirror of
https://github.com/Eugeny/tabby.git
synced 2026-08-24 02:34:19 -05:00
On Windows, checking for the existence of the OpenSSH agent named pipe (`\\.\pipe\openssh-ssh-agent`) can throw an `EBUSY` error if the agent is running and the pipe is in use. Previously, this error was caught generically and treated as the pipe not existing, causing auto-detection to fail even when the agent was active. This change updates the detection logic to explicitly catch `EBUSY` errors from `fs.stat` and treat them as a positive signal that the pipe exists.