diff options
author | Joey Hess <joey@kitenet.net> | 2014-04-12 16:32:59 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2014-04-12 16:32:59 -0400 |
commit | 0f1ea37a68535b95c56e1e142ecc8db1ac6b43dc (patch) | |
tree | 5527c4de0f0a561afe5e358b7b2e8f491d29146d /RemoteDaemon/Transport | |
parent | 102e182eac9b95e31fb71830fe5ce5a502e93d92 (diff) |
remotedaemon: When network connection is lost, close all cached ssh connections.
This commit was sponsored by Cedric Staub.
Diffstat (limited to 'RemoteDaemon/Transport')
-rw-r--r-- | RemoteDaemon/Transport/Ssh.hs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/RemoteDaemon/Transport/Ssh.hs b/RemoteDaemon/Transport/Ssh.hs index d6150bbce..ba03a2589 100644 --- a/RemoteDaemon/Transport/Ssh.hs +++ b/RemoteDaemon/Transport/Ssh.hs @@ -84,6 +84,7 @@ transport' r url transporthandle ichan ochan = do msg <- readChan ichan case msg of STOP -> return Stopping + LOSTNET -> return Stopping _ -> handlecontrol -- Old versions of git-annex-shell that do not support |