diff --git a/runtime/v2/runhcs/io.go b/runtime/v2/runhcs/io.go index 274a08a90..a3a4f1458 100644 --- a/runtime/v2/runhcs/io.go +++ b/runtime/v2/runhcs/io.go @@ -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() } }