Skip to content
Permalink
Browse files

Merge pull request #609 from BenTheElder/correctness

small correctness fix
  • Loading branch information...
k8s-ci-robot committed Jun 13, 2019
2 parents a61e6ce + f1b67bb commit cdf9183fa11d3092c85cf773a0ca6e3b49d83dff
Showing with 1 addition and 0 deletions.
  1. +1 −0 pkg/exec/exec.go
@@ -107,6 +107,7 @@ func RunWithStdoutReader(cmd Cmd, readerFunc func(io.Reader) error) error {
errChan := make(chan error, 1)
go func() {
errChan <- readerFunc(pr)
pr.Close()
}()

err = cmd.Run()

0 comments on commit cdf9183

Please sign in to comment.
You can’t perform that action at this time.