summaryrefslogtreecommitdiff
path: root/lib/chef/provider/reboot.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/provider/reboot.rb')
-rw-r--r--lib/chef/provider/reboot.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/provider/reboot.rb b/lib/chef/provider/reboot.rb
index a8abcb3b57..f66b42c0e8 100644
--- a/lib/chef/provider/reboot.rb
+++ b/lib/chef/provider/reboot.rb
@@ -54,7 +54,7 @@ class Chef
converge_by("rebooting the system immediately") do
Chef::Log.warn "Rebooting system immediately, requested by '#{@new_resource.name}'"
request_reboot
- Chef::Platform::Rebooter.reboot!(node)
+ throw :interrupt_run_and_reboot
end
end