Fix vm state check in ssh-config.

This commit is contained in:
Elliot Pahl 2012-01-05 16:06:25 +13:00 committed by Mitchell Hashimoto
parent 09e11ae792
commit 9c89ed9c06
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ module Vagrant
with_target_vms(argv[0], true) do |vm|
raise Errors::VMNotCreatedError if !vm.created?
raise Errors::VMInaccessible if !vm.vm.accessible?
raise Errors::VMInaccessible if !vm.state == :inaccessible
# We need to fix the file permissions of the key if they aren't set
# properly, otherwise if the user attempts to SSH in, it won't work!