diff --git a/command/build/command.go b/command/build/command.go index 02874d325..32f845625 100644 --- a/command/build/command.go +++ b/command/build/command.go @@ -82,7 +82,7 @@ func (Command) Run(env packer.Environment, args []string) int { // Run the build in a goroutine go func() { defer wg.Done() - b.Run(env.Ui()) + b.Run(buildUis[b.Name()]) }() }