diff options
author | Nathan Williams <nath.e.will@gmail.com> | 2015-08-28 09:22:10 -0700 |
---|---|---|
committer | Nathan Williams <nath.e.will@gmail.com> | 2015-08-28 09:22:10 -0700 |
commit | ed89cf566f0f4f6c33c9c0a77bb557f990607bf5 (patch) | |
tree | 1b1d7eeaff570170151975eea46b18701c2a455f | |
parent | 0d4954a1d4a8656be920a83615b93306c4387717 (diff) | |
download | chef-ed89cf566f0f4f6c33c9c0a77bb557f990607bf5.tar.gz |
::File
-rw-r--r-- | lib/chef/platform/service_helpers.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/platform/service_helpers.rb b/lib/chef/platform/service_helpers.rb index 1fc0f6b130..ca0ed063da 100644 --- a/lib/chef/platform/service_helpers.rb +++ b/lib/chef/platform/service_helpers.rb @@ -96,7 +96,7 @@ class Chef private def systemd_is_init? - File.exist?("/proc/1/comm") && + ::File.exist?("/proc/1/comm") && IO.read("/proc/1/comm").chomp == "systemd" end |