diff options
author | Saku Ytti <saku@ytti.fi> | 2013-04-26 17:03:01 +0300 |
---|---|---|
committer | Saku Ytti <saku@ytti.fi> | 2013-04-26 17:03:01 +0300 |
commit | b30ca8b31e23ea9f518c92e2ef51f85d8e7a0584 (patch) | |
tree | 3b93d10cd9b005a1457ec7a8dcc862baa19d05c7 /lib/oxidized/input/telnet.rb | |
parent | d4e251b42ff4f4831762912e2ad3d50b91e8afb0 (diff) |
Fix: telnet exceptions, broken json/ext, typo
Kudos to Samer Abdel-Hafez for noticing
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 6dae2d6..f946e92 100644 --- a/lib/oxidized/input/telnet.rb +++ b/lib/oxidized/input/telnet.rb @@ -16,7 +16,7 @@ module Oxidized expect password @telnet.puts @node.auth[:password] expect @node.prompt - rescue Errno::ECONNREFUSED, Net::OpenTimeout, Net::ReadTimeout + rescue Errno::ECONNREFUSED, Timeout::Error return false end end |