summaryrefslogtreecommitdiff
path: root/lib/chef/client.rb
diff options
context:
space:
mode:
authorClaire McQuin <claire@getchef.com>2014-05-06 15:22:10 -0700
committerClaire McQuin <claire@getchef.com>2014-05-06 15:22:10 -0700
commitda7c849754566ec3ecf4709deeab6253a5bde135 (patch)
tree69ebf15b4ac08d621ef8376fc5e82fcdf1159db0 /lib/chef/client.rb
parent07f57b179967f78976d75295abbae8ac6b7551b6 (diff)
downloadchef-da7c849754566ec3ecf4709deeab6253a5bde135.tar.gz
convert cli argument to int, tidy exception message
Diffstat (limited to 'lib/chef/client.rb')
-rw-r--r--lib/chef/client.rb7
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/chef/client.rb b/lib/chef/client.rb
index 635cfddfb3..69e191bdf8 100644
--- a/lib/chef/client.rb
+++ b/lib/chef/client.rb
@@ -224,12 +224,7 @@ class Chef
Chef::Log.debug "Forked instance successfully reaped (pid: #{pid})"
true
else
- begin
- do_run
- rescue Exception => e
- Chef::Log.error(e.to_s)
- exit 1
- end
+ do_run
end
end