diff options
author | Chris Doherty <cdoherty@getchef.com> | 2014-09-03 21:48:46 -0700 |
---|---|---|
committer | Chris Doherty <cdoherty@getchef.com> | 2014-09-10 16:34:20 -0700 |
commit | bc85c98c94fe27532e32f02362f5b95a8eaa82aa (patch) | |
tree | 00b94a8a349d18091cb107aa37e452cffd5f5017 | |
parent | 9ad8d3cdeffd2986a2be568f434064f03e692303 (diff) | |
download | chef-bc85c98c94fe27532e32f02362f5b95a8eaa82aa.tar.gz |
-h is halt, -r is reboot.
-rw-r--r-- | lib/chef/rebooter.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/rebooter.rb b/lib/chef/rebooter.rb index fa1aafd81d..d33229c921 100644 --- a/lib/chef/rebooter.rb +++ b/lib/chef/rebooter.rb @@ -46,7 +46,7 @@ class Chef "shutdown /r /t #{reboot_info[:delay_mins]} /c \"#{reboot_info[:reason]}\"" else shutdown_time = reboot_info[:delay_mins] > 0 ? reboot_info[:reboot_timeout] : "now" - "shutdown -h #{shutdown_time}" + "shutdown -r #{shutdown_time}" end Chef::Log.warn "Shutdown command: '#{cmd}'" # for ease of testing we are not yet actually rebooting. |