packer: fuzzy search broken pipe too [GH-1314]
This commit is contained in:
parent
c7dffaf12f
commit
847cb02eb3
@ -22,7 +22,8 @@ BUG FIXES:
|
||||
|
||||
* core: nicer error message if an encrypted private key is used for
|
||||
SSH. [GH-1445]
|
||||
* core: Fix crash that could happen with a well timed double Ctrl-C. [GH-1328]
|
||||
* core: Fix crash that could happen with a well timed double Ctrl-C.
|
||||
[GH-1328] [GH-1314]
|
||||
* builder/amazon-chroot: Can properly build HVM images now. [GH-1360]
|
||||
* builder/amazon-chroot: Fix crash in root device check. [GH-1360]
|
||||
* builder/amazon-instance: Fix deprecation warning for `ec2-bundle-vol`
|
||||
|
@ -289,7 +289,7 @@ func (u *MachineReadableUi) Machine(category string, args ...string) {
|
||||
|
||||
_, err := fmt.Fprintf(u.Writer, "%d,%s,%s,%s\n", now.Unix(), target, category, argsString)
|
||||
if err != nil {
|
||||
if err == syscall.EPIPE {
|
||||
if err == syscall.EPIPE || strings.Contains(err.Error(), "broken pipe") {
|
||||
// Ignore epipe errors because that just means that the file
|
||||
// is probably closed or going to /dev/null or something.
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user