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

This commit is contained in:
Mitchell Hashimoto 2013-10-15 09:40:47 -10:00
parent 936a00a600
commit f673ca52ba
1 changed files with 1 additions and 1 deletions

View File

@ -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
} }