Skip to content
This repository has been archived by the owner on Jan 24, 2022. It is now read-only.

Commit

Permalink
Merge branch 'jinankjain-Bug186'
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Claudius committed Sep 17, 2016
2 parents b9f9818 + 1617d61 commit bad7729
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/ssh_scan/client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ def connect()
rescue Errno::ENETUNREACH => e
@error = SSHScan::Error::ConnectionRefused.new(e.message)
@sock = nil
rescue Errno::ECONNRESET => e
@error = SSHScan::Error::ConnectionRefused.new(e.message)
@sock = nil
rescue Errno::EACCES => e
@error = SSHScan::Error::ConnectionRefused.new(e.message)
@sock = nil
Expand Down

0 comments on commit bad7729

Please sign in to comment.