summaryrefslogtreecommitdiff
path: root/lib/chef/provider/service/gentoo.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/provider/service/gentoo.rb')
-rw-r--r--lib/chef/provider/service/gentoo.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/provider/service/gentoo.rb b/lib/chef/provider/service/gentoo.rb
index 56064bc03a..8fb6d1f9af 100644
--- a/lib/chef/provider/service/gentoo.rb
+++ b/lib/chef/provider/service/gentoo.rb
@@ -38,7 +38,7 @@ class Chef::Provider::Service::Gentoo < Chef::Provider::Service::Init
exists = ::File.exists? file
readable = ::File.readable? file
Chef::Log.debug "#{@new_resource} exists: #{exists}, readable: #{readable}"
- exists and readable
+ exists && readable
end
)
Chef::Log.debug "#{@new_resource} enabled: #{@current_resource.enabled}"