summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authormarkgibbons <mark.gibbons@nordstrom.com>2014-06-07 19:56:35 -0700
committermarkgibbons <mark.gibbons@nordstrom.com>2014-06-07 19:56:35 -0700
commit97088f458afffcc73d49c53c594f08bf969084aa (patch)
tree501365792e233f96253873e601e3831e70762720 /lib
parent7588211ecb83c9592065359622ff6cef98d773af (diff)
downloadchef-97088f458afffcc73d49c53c594f08bf969084aa.tar.gz
CHEF-5347: Allow for undefined solaris services in the service resource.
Diffstat (limited to 'lib')
-rw-r--r--lib/chef/provider/service/solaris.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/provider/service/solaris.rb b/lib/chef/provider/service/solaris.rb
index 05a91eb756..6672b0f084 100644
--- a/lib/chef/provider/service/solaris.rb
+++ b/lib/chef/provider/service/solaris.rb
@@ -69,7 +69,7 @@ class Chef
end
def service_status
- status = shell_out!("#{@status_command} #{@current_resource.service_name}")
+ status = shell_out("#{@status_command} #{@current_resource.service_name}")
status.stdout.each_line do |line|
case line
when /state\s+online/