Update rake task docs to use `exec`

This commit is contained in:
Mitchell Hashimoto 2010-03-10 16:17:42 -08:00
parent 6dddd2dc1c
commit 648593a18c
1 changed files with 1 additions and 1 deletions

View File

@ -79,7 +79,7 @@ task :graceful_down do
Vagrant::Env.load! Vagrant::Env.load!
Vagrant::Env.require_persisted_vm Vagrant::Env.require_persisted_vm
Vagrant::SSH.execute do |ssh| Vagrant::SSH.execute do |ssh|
ssh.execute!("sudo halt") ssh.exec!("sudo halt")
end end
end end
{% endhighlight %} {% endhighlight %}