bin/check-sensor.rb in sensu-plugins-ipmi-1.0.0 vs bin/check-sensor.rb in sensu-plugins-ipmi-1.0.1

- old
+ new

@@ -91,10 +91,10 @@ short: '-t TIMEOUT', long: '--timeout TIMEOUT', default: 30 def conn - timeout(config[:timeout].to_i) do + Timeout.timeout(config[:timeout].to_i) do Rubyipmi.connect(config[:username], config[:password], config[:host], config[:provider], privilege: config[:privilege])