summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2014-09-03 13:08:54 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2014-09-08 11:10:05 -0700
commit4ca965945aefab41bee1c3f3b33a93cb68d424c0 (patch)
tree592999fc530db470a4c2cffb6573fb999d18228e /lib
parentb36f64f6058b63219e18daadddb9ce02181ed0d2 (diff)
downloadchef-4ca965945aefab41bee1c3f3b33a93cb68d424c0.tar.gz
spec and code fixes for upstart provider
Diffstat (limited to 'lib')
-rw-r--r--lib/chef/provider/service/upstart.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/provider/service/upstart.rb b/lib/chef/provider/service/upstart.rb
index 5c021e8cb7..670bf9e5f8 100644
--- a/lib/chef/provider/service/upstart.rb
+++ b/lib/chef/provider/service/upstart.rb
@@ -100,7 +100,7 @@ class Chef
if shell_out!(@new_resource.status_command) == 0
@current_resource.running true
end
- rescue Chef::Exceptions::Exec
+ rescue
@command_success = false
@current_resource.running false
nil