Linux shutdown state checking no longer requires the force param. Its default

This commit is contained in:
Mitchell Hashimoto 2010-04-28 20:47:58 -07:00
parent ba7ab66239
commit 822a5e3154
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ module Vagrant
# occur within a reasonable amount of time (15 seconds by default),
# then simply return and allow Vagrant to kill the machine.
count = 0
while vm.vm.state(true) != :powered_off
while vm.vm.state != :powered_off
count += 1
return if count >= vm.env.config.linux.halt_timeout