summaryrefslogtreecommitdiff
path: root/lib/chef/platform
diff options
context:
space:
mode:
authorSteven Murawski <steven.murawski@gmail.com>2017-04-04 15:15:00 -0500
committerSteven Murawski <steven.murawski@gmail.com>2017-04-04 15:15:00 -0500
commit4b0926387418cd8d4105c125aebd23e68b612ff4 (patch)
treec7a7d64f1afbd7133beea7e80709469e363c4091 /lib/chef/platform
parent6c7c5e9de89ab127ce3375240c55f8a3c494566a (diff)
downloadchef-4b0926387418cd8d4105c125aebd23e68b612ff4.tar.gz
use rfc exit codes
Signed-off-by: Steven Murawski <steven.murawski@gmail.com>
Diffstat (limited to 'lib/chef/platform')
-rw-r--r--lib/chef/platform/rebooter.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/chef/platform/rebooter.rb b/lib/chef/platform/rebooter.rb
index 6829b66539..33a6e24be2 100644
--- a/lib/chef/platform/rebooter.rb
+++ b/lib/chef/platform/rebooter.rb
@@ -51,8 +51,7 @@ class Chef
raise Chef::Exceptions::RebootFailed.new(e.message)
end
- raise Chef::Exceptions::Reboot.new(msg) if Chef::Application::ExitCode.enforce_rfc_062_exit_codes?
- Chef::Application::ExitCode.notify_reboot_exit_code_deprecation
+ raise Chef::Exceptions::Reboot.new(msg)
end
# this is a wrapper function so Chef::Client only needs a single line of code.