remove obsolete comment

This commit is contained in:
Joey Hess 2022-01-03 12:38:29 -04:00
parent e77ef584cc
commit 92cc28c316
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38

View file

@ -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