diff options
author | Paul Sherratt <me@paul.sh> | 2013-09-06 15:19:21 +0100 |
---|---|---|
committer | Paul Sherratt <me@paul.sh> | 2013-09-06 15:19:21 +0100 |
commit | edaf887b86d84378c94ef02fe7200e70f93f9279 (patch) | |
tree | 9aaea7f1854816eab90119166f947d42270f46b1 /lib/oxidized/input/telnet.rb | |
parent | 9dc92d9c8d1760efba8015db659e95bc6cd1a070 (diff) |
more errors to rescue from
Diffstat (limited to 'lib/oxidized/input/telnet.rb')
-rw-r--r-- | lib/oxidized/input/telnet.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/oxidized/input/telnet.rb b/lib/oxidized/input/telnet.rb index c4c8bab..26755ca 100644 --- a/lib/oxidized/input/telnet.rb +++ b/lib/oxidized/input/telnet.rb @@ -17,7 +17,7 @@ module Oxidized expect password @telnet.puts @node.auth[:password] expect @node.prompt - rescue Timeout::Error, Errno::ECONNREFUSED, Errno::ECONNRESET, Errno::EHOSTUNREACH + rescue Timeout::Error, Errno::ECONNREFUSED, Errno::ECONNRESET, Errno::EPIPE, Errno::EHOSTUNREACH return false end end |