lib/logstash/inputs/exec.rb in logstash-input-exec-2.0.0 vs lib/logstash/inputs/exec.rb in logstash-input-exec-2.0.1

- old
+ new

@@ -62,10 +62,10 @@ sleeptime = [0, @interval - duration].max if sleeptime == 0 @logger.warn("Execution ran longer than the interval. Skipping sleep.", :command => @command, :duration => duration, :interval => @interval) else - Stud.stoppable_sleep(sleeptime) { stop? } + Stud.stoppable_sleep(sleeptime) { stop? } end end # Execute a given command # @param [String] A command string