diff options
author | Claire McQuin <claire@getchef.com> | 2014-09-30 08:44:46 -0700 |
---|---|---|
committer | Claire McQuin <claire@getchef.com> | 2014-10-01 14:31:06 -0700 |
commit | ea430b7ef437e004afb8826adad36c60588f4ddc (patch) | |
tree | ca21794a59962bf56478b3c9269e1a86acdfd149 /lib/chef/application | |
parent | 9001bbc2d6ff694ddb31fd8b437b4e28367db839 (diff) | |
download | chef-ea430b7ef437e004afb8826adad36c60588f4ddc.tar.gz |
Tidy up some comments, whitespace.
Diffstat (limited to 'lib/chef/application')
-rw-r--r-- | lib/chef/application/client.rb | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/chef/application/client.rb b/lib/chef/application/client.rb index 098804739e..cc734732bb 100644 --- a/lib/chef/application/client.rb +++ b/lib/chef/application/client.rb @@ -258,7 +258,6 @@ class Chef::Application::Client < Chef::Application Chef::Config.chef_zero.host = config[:chef_zero_host] if config[:chef_zero_host] Chef::Config.chef_zero.port = config[:chef_zero_port] if config[:chef_zero_port] - if Chef::Config[:daemonize] Chef::Config[:interval] ||= 1800 end @@ -319,7 +318,7 @@ class Chef::Application::Client < Chef::Application if !Chef::Config[:client_fork] || Chef::Config[:once] begin # run immediately without interval sleep, or splay - run_chef_client(Chef::Config[:specific_recipes] || []) + run_chef_client(Chef::Config[:specific_recipes]) rescue SystemExit raise rescue Exception => e @@ -346,7 +345,7 @@ class Chef::Application::Client < Chef::Application end @signal = nil - run_chef_client(Chef::Config[:specific_recipes] || []) + run_chef_client(Chef::Config[:specific_recipes]) Chef::Application.exit!("Exiting", 0) if !Chef::Config[:interval] rescue SystemExit => e |