nagios: fix rubocop 0.65.0 style.
This commit is contained in:
parent
6841c6f2f5
commit
2627d1f9ea
1 changed files with 1 additions and 0 deletions
|
@ -70,6 +70,7 @@ class Nagios < Formula
|
|||
config = etc/"nagios/nagios.cfg"
|
||||
return unless File.exist?(config)
|
||||
return if File.read(config).include?(ENV["USER"])
|
||||
|
||||
inreplace config, "brew", ENV["USER"]
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue