mirror of
https://github.com/hashicorp/packer.git
synced 2026-06-11 09:40:17 -04:00
provisoiner/shell: append only needs to add a byte for UnixReader
This commit is contained in:
parent
936a00a600
commit
f673ca52ba
1 changed files with 1 additions and 1 deletions
|
|
@ -57,5 +57,5 @@ func scanUnixLine(data []byte, atEOF bool) (advance int, token []byte, err error
|
|||
if advance == 0 {
|
||||
return
|
||||
}
|
||||
return advance, append(token, "\n"...), err
|
||||
return advance, append(token, '\n'), err
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue