diff options
author | Lamont Granquist <lamont@opscode.com> | 2012-11-01 13:45:27 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@opscode.com> | 2012-11-01 15:00:36 -0700 |
commit | 5a75962216886c1b1173c82e6fe71e406cddd45d (patch) | |
tree | 610c233f3251ca812c1d537f8e947f3a7d1f96c8 /lib/chef/application/solo.rb | |
parent | 29173a2b8e8014d983ec20cd8a2ebf967dd51fb5 (diff) | |
download | chef-5a75962216886c1b1173c82e6fe71e406cddd45d.tar.gz |
removing daemonize option for windows
Diffstat (limited to 'lib/chef/application/solo.rb')
-rw-r--r-- | lib/chef/application/solo.rb | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/lib/chef/application/solo.rb b/lib/chef/application/solo.rb index 4aca7238f6..bcf072e2fb 100644 --- a/lib/chef/application/solo.rb +++ b/lib/chef/application/solo.rb @@ -78,11 +78,13 @@ class Chef::Application::Solo < Chef::Application :description => "Group to set privilege to", :proc => nil - option :daemonize, - :short => "-d", - :long => "--daemonize", - :description => "Daemonize the process", - :proc => lambda { |p| true } + unless Chef::Platform.windows? + option :daemonize, + :short => "-d", + :long => "--daemonize", + :description => "Daemonize the process", + :proc => lambda { |p| true } + end option :interval, :short => "-i SECONDS", |