Commit 87e88dc8 authored by Mitchell Hashimoto's avatar Mitchell Hashimoto

command/build: get command passing

parent 5d45d9b7
......@@ -113,7 +113,8 @@ func (c Command) Run(env packer.Environment, args []string) int {
log.Printf("Preparing build: %s", b.Name())
b.SetDebug(cfgDebug)
b.SetForce(cfgForce)
err := b.Prepare(userVars)
// TODO(mitchellh): Handle warnings
_, err := b.Prepare(userVars)
if err != nil {
env.Ui().Error(err.Error())
return 1
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment