Skip to content

Commit 9846c05

Browse files
Watson1978daipom
andcommitted
centos: remove redundant code
Co-authored-by: Daijiro Fukuda <[email protected]> Signed-off-by: Shizuo Fujita <[email protected]>
1 parent 9c408c0 commit 9846c05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fluent-package/Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ require File.expand_path('../config.rb', __FILE__)
55
def platform_centos7?
66
return false unless File.exist?("/etc/os-release")
77
os_info = File.read("/etc/os-release")
8-
os_info.include?("CentOS Linux 7") ? true : false
8+
os_info.include?("CentOS Linux 7")
99
end
1010

1111
source "https://rubygems.org"

0 commit comments

Comments
 (0)