builder/vmware, builder/virtualbox: Don't continue if ISO error

This commit is contained in:
Mitchell Hashimoto 2013-06-23 18:23:00 -07:00
parent 4d41d90c97
commit cf2fb01edb
2 changed files with 2 additions and 0 deletions

View File

@ -67,6 +67,7 @@ DownloadWaitLoop:
err := fmt.Errorf("Error downloading ISO: %s", err)
state["error"] = err
ui.Error(err.Error())
return multistep.ActionHalt
}
break DownloadWaitLoop

View File

@ -67,6 +67,7 @@ DownloadWaitLoop:
err := fmt.Errorf("Error downloading ISO: %s", err)
state["error"] = err
ui.Error(err.Error())
return multistep.ActionHalt
}
break DownloadWaitLoop