diff --git a/CHANGELOG.md b/CHANGELOG.md index ba7455f53..83df6ff2d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ ## 0.6.7 (unreleased) - + - Fix output of `vagrant status` with multi-vm to be correct. [GH-196] ## 0.6.6 (October 14, 2010) diff --git a/lib/vagrant/command/status.rb b/lib/vagrant/command/status.rb index ed3eb1873..d1922398a 100644 --- a/lib/vagrant/command/status.rb +++ b/lib/vagrant/command/status.rb @@ -6,7 +6,7 @@ module Vagrant def route state = nil results = target_vms.collect do |vm| - state ||= vm.created? ? vm.vm.state.to_s : "not_created" + state = vm.created? ? vm.vm.state.to_s : "not_created" "#{vm.name.to_s.ljust(25)}#{state.gsub("_", " ")}" end