diff options
author | Claire McQuin <claire@getchef.com> | 2014-05-06 15:22:10 -0700 |
---|---|---|
committer | Claire McQuin <claire@getchef.com> | 2014-05-06 15:22:10 -0700 |
commit | da7c849754566ec3ecf4709deeab6253a5bde135 (patch) | |
tree | 69ebf15b4ac08d621ef8376fc5e82fcdf1159db0 /lib/chef/client.rb | |
parent | 07f57b179967f78976d75295abbae8ac6b7551b6 (diff) | |
download | chef-da7c849754566ec3ecf4709deeab6253a5bde135.tar.gz |
convert cli argument to int, tidy exception message
Diffstat (limited to 'lib/chef/client.rb')
-rw-r--r-- | lib/chef/client.rb | 7 |
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 |