diff --git a/createprocess.go b/createprocess.go index 5c45ff52bd..6f0ce91012 100644 --- a/createprocess.go +++ b/createprocess.go @@ -55,7 +55,7 @@ func (p *pipe) Read(b []byte) (int, error) { if err == syscall.ERROR_BROKEN_PIPE { return 0, io.EOF } - return 0, err + return 0, err } return int(read), nil }