Fix issue in runhcs shim CloseIO
The call was closing all upstream IO when a shim.CloseIO call was made rather than just the Stdin as it is supposed to. Signed-off-by: Justin Terry (VM) <juterry@microsoft.com>
This commit is contained in:
		| @@ -145,7 +145,7 @@ func (pr *pipeRelay) wait() { | |||||||
| // closeIO closes stdin to unblock an waiters | // closeIO closes stdin to unblock an waiters | ||||||
| func (pr *pipeRelay) closeIO() { | func (pr *pipeRelay) closeIO() { | ||||||
| 	if pr.ps.stdin != nil { | 	if pr.ps.stdin != nil { | ||||||
| 		pr.ps.Close() | 		pr.ps.stdin.Close() | ||||||
| 		pr.io.Stdin().Close() | 		pr.io.Stdin().Close() | ||||||
| 	} | 	} | ||||||
| } | } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Justin Terry (VM)
					Justin Terry (VM)