commit | b350d597c72a610e3b0aa684d856136e807cd928 | [log] [tgz] |
---|---|---|
author | Julie Hockett <juliehockett@google.com> | Mon Sep 17 15:44:15 2018 -0700 |
committer | Julie Hockett <juliehockett@google.com> | Mon Sep 17 15:44:15 2018 -0700 |
tree | 265ebb71c9d772f9273adad937d2998a0e9997ca | |
parent | da3d22ca2feda362b0e105ffd5142e9f82dedad8 [diff] |
[bloaty] Don't close the pipe if it didn't get created I was overaggressive on the closing :/ Change-Id: If0612c137a31bccee7b8123f161e9daa3322aab1
diff --git a/bloaty/bloaty.go b/bloaty/bloaty.go index 152cbf6..3f0cbff 100644 --- a/bloaty/bloaty.go +++ b/bloaty/bloaty.go
@@ -53,7 +53,6 @@ stdout, err := cmd.StdoutPipe() if err != nil { out <- bloatyOutput{err: fmt.Errorf("pipe: %s: %s", file, err)} - stdout.Close() return }