packer: Ui.Message should Fprint, not Fprintf
This commit is contained in:
parent
4fb31f1cab
commit
58e677d112
|
@ -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)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue