# Fix Zed not entering disconnected state when remote proxy dies \(\#47659\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/e49dd8ba371d2c55c917fe6cf8bb919554051bc6)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: e49dd8ba371d2c55c917fe6cf8bb919554051bc6

Requested commit: e49dd8ba371d2c55c917fe6cf8bb919554051bc6

Commit: e49dd8ba371d2c55c917fe6cf8bb919554051bc6

Tree: f1f652ebad56b1342468168d63e2555b90ec086b

Author: John Tur

Committer: GitHub

## Message

```
Fix Zed not entering disconnected state when remote proxy dies (#47659)

When I kill the remote proxy, it seems like `ssh` exits with code -1.
Since that's less than or equal to 0, this means we don't try to restart
the connection. The proxy really shouldn't exit for any reason, so let's
get rid of this check altogether.

Release Notes:

- N/A

Co-authored-by: Lukas Wirth <me@lukaswirth.dev>
```

## Parents

- [ee0e370e82aa94ef95e4aae9bb4634d491c8b153](https://git.cafe/gitcafe/zed/commit/ee0e370e82aa94ef95e4aae9bb4634d491c8b153?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/e49dd8ba371d2c55c917fe6cf8bb919554051bc6?format=markdown)
