Skip to content

Commit 6c8ca10

Browse files
committed
Fix linter
1 parent fe8f7cb commit 6c8ca10

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/fluent/plugin/in_systemd.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def shutdown
3535
private
3636

3737
def init_journal
38-
@journal.close if @journal # rubocop:disable Style/SafeNavigation
38+
@journal.close if @journal
3939
@journal = Systemd::Journal.new(path: @path)
4040
# make sure initial call to wait doesn't return :invalidate
4141
# see https://github.com/ledbettj/systemd-journal/issues/70

0 commit comments

Comments
 (0)