fix reading information method for vbox 4.1

This commit is contained in:
David Calavera 2012-03-31 18:58:02 -07:00
parent b0e6085c0b
commit e8c5cf09db
1 changed files with 1 additions and 1 deletions

View File

@ -386,7 +386,7 @@ module Vagrant
def read_vms def read_vms
results = [] results = []
execute("list", "vms", :retryable => true).split("\n").each do |line| execute("list", "vms", :retryable => true).split("\n").each do |line|
if vm line[/^".+?" \{(.+?)\}$/, 1] if vm = line[/^".+?" \{(.+?)\}$/, 1]
results << vm results << vm
end end
end end