Report VirtualBox errors

Signed-off-by: David Gageot <david@gageot.net>
This commit is contained in:
David Gageot
2015-10-21 21:03:51 +02:00
parent 97fcc446d7
commit 6bbec2df68

View File

@@ -419,6 +419,7 @@ func runActionForeachMachine(actionName string, machines []*host.Host) []error {
go machineCommand(actionName, machine, serialChan)
if err := <-serialChan; err != nil {
log.Errorln(err)
errs = append(errs, err)
}
close(serialChan)
}