From 766b62cb729fc897f73bebc2b265bbb135189bdd Mon Sep 17 00:00:00 2001 From: aarzilli Date: Mon, 11 Nov 2019 08:29:31 +0100 Subject: [PATCH] Makefile: discard stderr of "go list" In module mode "go" will print messages about downloading modules to stderr, we shouldn't confuse them for the real command output. --- scripts/make.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/make.go b/scripts/make.go index feb750aa7c..0aa134c7ee 100644 --- a/scripts/make.go +++ b/scripts/make.go @@ -188,7 +188,7 @@ func quotemaybe(args []string) []string { func getoutput(cmd string, args ...interface{}) string { x := exec.Command(cmd, strflatten(args)...) x.Env = os.Environ() - out, err := x.CombinedOutput() + out, err := x.Output() if err != nil { log.Fatal(err) }