]> Cypherpunks repositories - gostls13.git/commit
cmd/pprof: exit with non-zero status code on error
authorMohit Agarwal <mohit@sdf.org>
Fri, 6 Nov 2015 17:57:01 +0000 (23:27 +0530)
committerRuss Cox <rsc@golang.org>
Sat, 5 Dec 2015 04:09:15 +0000 (04:09 +0000)
commit08ab43eca244e7bec0228c17d93a7cde17b20f7f
tree44ddc0181481e7a8352e45963d7614e1f38e1d65
parent3fb9e08758df3f2ace772271c73692e483d85a80
cmd/pprof: exit with non-zero status code on error

Set the status code in case of error.

Fixes #11510

Change-Id: If461c30a1f6d2275539f33a2eabd7b19bbfa411d
Reviewed-on: https://go-review.googlesource.com/16718
Reviewed-by: Russ Cox <rsc@golang.org>
src/cmd/pprof/pprof.go