Commit 43b6c1fa authored by Mitchell Hashimoto's avatar Mitchell Hashimoto

packer: Ui.Message should Fprint, not Fprintf

parent 921770b6
...@@ -161,7 +161,7 @@ func (rw *ReaderWriterUi) Message(message string) { ...@@ -161,7 +161,7 @@ func (rw *ReaderWriterUi) Message(message string) {
defer rw.l.Unlock() defer rw.l.Unlock()
log.Printf("ui: %s", message) log.Printf("ui: %s", message)
_, err := fmt.Fprintf(rw.Writer, message+"\n") _, err := fmt.Fprint(rw.Writer, message+"\n")
if err != nil { if err != nil {
panic(err) panic(err)
} }
......
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