Skip to content

Commit a5f70da

Browse files
committed
Reflect comments
Signed-off-by: Tomoaki Kobayashi <[email protected]>
1 parent 9f22a52 commit a5f70da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/fluent/plugin/in_tail.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ def configure(conf)
215215

216216
def check_dir_permission
217217
expand_paths_raw.select { |path|
218-
if !File.readable?(path)
218+
if !File.exist?(path)
219219
inaccessible_dir = Pathname.new(File.expand_path(path))
220220
.ascend
221221
.reverse_each

0 commit comments

Comments
 (0)