We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe8f7cb commit 6c8ca10Copy full SHA for 6c8ca10
lib/fluent/plugin/in_systemd.rb
@@ -35,7 +35,7 @@ def shutdown
35
private
36
37
def init_journal
38
- @journal.close if @journal # rubocop:disable Style/SafeNavigation
+ @journal.close if @journal
39
@journal = Systemd::Journal.new(path: @path)
40
# make sure initial call to wait doesn't return :invalidate
41
# see https://github.com/ledbettj/systemd-journal/issues/70
0 commit comments