summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Manyanza <rm@dsc.co.tz>2014-10-22 11:10:17 +0300
committerRichard Manyanza <rm@dsc.co.tz>2014-10-22 11:10:17 +0300
commit6f18755b130a46ac62753b2d064dc2b59625fdde (patch)
tree24d97a69d90c6238df79652794c95564127f9f8f
parentd2c94417f1cf617c47bd5eed3afb8db6b1208809 (diff)
downloadchef-6f18755b130a46ac62753b2d064dc2b59625fdde.tar.gz
Properly load FreeBSD service status
-rw-r--r--lib/chef/provider/service/freebsd.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/chef/provider/service/freebsd.rb b/lib/chef/provider/service/freebsd.rb
index 08d58232e1..5046c68045 100644
--- a/lib/chef/provider/service/freebsd.rb
+++ b/lib/chef/provider/service/freebsd.rb
@@ -46,6 +46,7 @@ class Chef
Chef::Log.debug("#{current_resource} found at #{init_command}")
+ @status_load_success = true
determine_current_status! # see Chef::Provider::Service::Simple
determine_enabled_status!