Commit f673ca52 authored by Mitchell Hashimoto's avatar Mitchell Hashimoto

provisoiner/shell: append only needs to add a byte for UnixReader

parent 936a00a6
...@@ -57,5 +57,5 @@ func scanUnixLine(data []byte, atEOF bool) (advance int, token []byte, err error ...@@ -57,5 +57,5 @@ func scanUnixLine(data []byte, atEOF bool) (advance int, token []byte, err error
if advance == 0 { if advance == 0 {
return return
} }
return advance, append(token, "\n"...), err return advance, append(token, '\n'), 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