From: Brad Fitzpatrick Date: Thu, 8 Aug 2013 20:36:22 +0000 (-0700) Subject: cmd/api: show output of api tool even if exit status is 0 X-Git-Tag: go1.2rc2~717 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=9a9e541c4db86bb1c590b0f4657929dde4312e2b;p=gostls13.git cmd/api: show output of api tool even if exit status is 0 We weren't seeing additions. (stuff to put in next.txt) R=golang-dev, rsc CC=golang-dev https://golang.org/cl/12678043 --- diff --git a/src/cmd/api/run.go b/src/cmd/api/run.go index f17d5eac9d..6e89bb7346 100644 --- a/src/cmd/api/run.go +++ b/src/cmd/api/run.go @@ -57,6 +57,7 @@ func main() { if err != nil { log.Fatalf("Error running API checker: %v\n%s", err, out) } + fmt.Print(string(out)) } // file expands s to $GOROOT/api/s.txt.