config: :OS_VERSION (fix style)
This commit is contained in:
parent
8243009d06
commit
77f97f71eb
@ -19,7 +19,7 @@ module OS
|
||||
end
|
||||
elsif (redhat_release = Pathname.new("/etc/redhat-release")).readable?
|
||||
redhat_release.read.chomp
|
||||
elsif ::OS_VERSION and ! ::OS_VERSION.empty?
|
||||
elsif ::OS_VERSION.present?
|
||||
::OS_VERSION
|
||||
else
|
||||
"Unknown"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user