diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2014-09-03 13:08:54 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2014-09-08 11:10:05 -0700 |
commit | 4ca965945aefab41bee1c3f3b33a93cb68d424c0 (patch) | |
tree | 592999fc530db470a4c2cffb6573fb999d18228e /lib | |
parent | b36f64f6058b63219e18daadddb9ce02181ed0d2 (diff) | |
download | chef-4ca965945aefab41bee1c3f3b33a93cb68d424c0.tar.gz |
spec and code fixes for upstart provider
Diffstat (limited to 'lib')
-rw-r--r-- | lib/chef/provider/service/upstart.rb | 2 |
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 |