remove obsolete comment
This commit is contained in:
parent
e77ef584cc
commit
92cc28c316
1 changed files with 1 additions and 5 deletions
|
@ -274,11 +274,7 @@ openP2PSshConnection r connpool = do
|
||||||
_ -> do
|
_ -> do
|
||||||
(cclosed, exitcode) <- closeP2PSshConnection c
|
(cclosed, exitcode) <- closeP2PSshConnection c
|
||||||
-- ssh exits 255 when unable to connect to
|
-- ssh exits 255 when unable to connect to
|
||||||
-- server. Return a closed connection in
|
-- server.
|
||||||
-- this case, to avoid the fallback action
|
|
||||||
-- being run instead, which would mean a
|
|
||||||
-- second connection attempt to this server
|
|
||||||
-- that is down.
|
|
||||||
if exitcode == Just (ExitFailure 255)
|
if exitcode == Just (ExitFailure 255)
|
||||||
then return (Just cclosed)
|
then return (Just cclosed)
|
||||||
else do
|
else do
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue