diff --git a/lib/fluent/plugin/in_tail.rb b/lib/fluent/plugin/in_tail.rb index a392180e1d..b4e3a56dc1 100644 --- a/lib/fluent/plugin/in_tail.rb +++ b/lib/fluent/plugin/in_tail.rb @@ -762,7 +762,7 @@ def close end def eof? - @io_handler.eof? + @io_handler.nil? || @io_handler.eof? end def on_notify @@ -1111,6 +1111,10 @@ def close def opened? false end + + def eof? + true + end end class RotateHandler