Perfdata.measure: copy and paste error removed.

This commit is contained in:
Denis Knauf 2013-04-10 15:29:42 +02:00
parent 541cb69a92
commit eff34860cf

View file

@ -12,9 +12,8 @@ module NSCA
end
def measure &block
timeout ||= 0
exception = Class.new Timeout::Error
timeout = pd.max
timeout = max
m = realtime do
begin
timeout timeout, exception, &block