lib/chef/application.rb in chef-10.24.4 vs lib/chef/application.rb in chef-10.26.0.beta.0
- old
+ new
@@ -26,21 +26,14 @@
require 'rbconfig'
class Chef::Application
include Mixlib::CLI
- class Wakeup < Exception
- end
-
def initialize
super
@chef_client = nil
@chef_client_json = nil
- trap("TERM") do
- Chef::Application.fatal!("SIGTERM received, stopping", 1)
- end
-
trap("INT") do
Chef::Application.fatal!("SIGINT received, stopping", 2)
end
unless Chef::Platform.windows?