diff --git a/command/build/command.go b/command/build/command.go index 2dfa4906f..e90ced1d9 100644 --- a/command/build/command.go +++ b/command/build/command.go @@ -244,7 +244,7 @@ func (c Command) Run(env packer.Environment, args []string) int { if artifact != nil { fmt.Fprintf(&message, artifact.String()) } else { - fmt.Print("") + fmt.Fprint(&message, "") } env.Ui().Say(message.String())