From 822a5e3154bdecb5a05763215bd96e481b02faf6 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Wed, 28 Apr 2010 20:47:58 -0700 Subject: [PATCH] Linux shutdown state checking no longer requires the force param. Its default --- lib/vagrant/systems/linux.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/vagrant/systems/linux.rb b/lib/vagrant/systems/linux.rb index 9539b887e..563ee7d4f 100644 --- a/lib/vagrant/systems/linux.rb +++ b/lib/vagrant/systems/linux.rb @@ -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