Merge pull request #2927 from jterry75/bug_io_relay_close

Fix issue in runhcs shim CloseIO
This commit is contained in:
Phil Estes
2019-01-15 09:59:09 -05:00
committed by GitHub

View File

@@ -145,7 +145,7 @@ func (pr *pipeRelay) wait() {
// closeIO closes stdin to unblock an waiters
func (pr *pipeRelay) closeIO() {
if pr.ps.stdin != nil {
pr.ps.Close()
pr.ps.stdin.Close()
pr.io.Stdin().Close()
}
}