diff options
author | Patrick Marchi <patrick.marchi@geo.uzh.ch> | 2011-03-01 14:57:27 +0100 |
---|---|---|
committer | Patrick Marchi <patrick.marchi@geo.uzh.ch> | 2011-03-01 14:57:27 +0100 |
commit | a10bb100191d47b59b6bc3336c06311193b1cbdf (patch) | |
tree | 767a4dcfb45c9d0c74739f6cbf20237294a22a3a | |
parent | 0078754aff90e5ffb839122e98e1e3c7b9012a34 (diff) | |
download | net-ssh-pmarchi-master.tar.gz |
! transport won't be closed if authentication failspmarchi-master
-rw-r--r-- | lib/net/ssh.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/net/ssh.rb b/lib/net/ssh.rb index acc23a7..9f03a98 100644 --- a/lib/net/ssh.rb +++ b/lib/net/ssh.rb @@ -193,6 +193,7 @@ module Net return connection end else + transport.closed raise AuthenticationFailed, user end end |