]> Cypherpunks repositories - gostls13.git/commit
cmd/dist: forward stderr if 'go env CGO_ENABLED' fails
authorBryan C. Mills <bcmills@google.com>
Fri, 6 Mar 2020 19:32:26 +0000 (14:32 -0500)
committerBryan C. Mills <bcmills@google.com>
Fri, 6 Mar 2020 20:06:47 +0000 (20:06 +0000)
commit1d90e1a0ac46274e6c0bfe36c410768263b79eaf
tree3a0df4dfcdc0ebda019be1c22c82338152cbd5f8
parent5ea58c63468bbc7e8705ee13d0bddbf3693785fe
cmd/dist: forward stderr if 'go env CGO_ENABLED' fails

The default error string for a command failure is just its status code,
and "exit status 1" is not at all helpful for debugging.

Change-Id: I822c89bcc9e73283b33e01792bf9c40b1add3c35
Reviewed-on: https://go-review.googlesource.com/c/go/+/222308
Run-TryBot: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Carlos Amedee <carlos@golang.org>
src/cmd/dist/test.go