summaryrefslogtreecommitdiff
path: root/lib/chef/application.rb
diff options
context:
space:
mode:
authortyler-ball <tball@chef.io>2019-04-22 15:24:19 -0600
committerMark Anderson <mark@chef.io>2019-05-03 21:40:19 -0700
commitc1fec9e0b6c4195be55e89d749bbffbae470539b (patch)
tree896a549a31291b26b473a11deed67dd305df2133 /lib/chef/application.rb
parentdb12e959e88aae92b9414a7637007ce7263fed1a (diff)
downloadchef-c1fec9e0b6c4195be55e89d749bbffbae470539b.tar.gz
Only Chef Software binaries should enforce EULA
Signed-off-by: tyler-ball <tball@chef.io>
Diffstat (limited to 'lib/chef/application.rb')
-rw-r--r--lib/chef/application.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/application.rb b/lib/chef/application.rb
index 2970921d1e..f567e62806 100644
--- a/lib/chef/application.rb
+++ b/lib/chef/application.rb
@@ -61,11 +61,11 @@ class Chef
end
# Get this party started
- def run
+ def run(enforce_license = false)
setup_signal_handlers
reconfigure
setup_application
- check_license_acceptance
+ check_license_acceptance if enforce_license
run_application
end