mirror of
https://github.com/hashicorp/packer.git
synced 2026-09-18 22:11:39 -04:00
command/build: get command passing
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user