diff options
| author | Fatih Arslan <ftharsln@gmail.com> | 2017-05-28 02:42:34 +0300 |
|---|---|---|
| committer | Rob Pike <r@golang.org> | 2017-05-28 10:23:38 +0000 |
| commit | d64c49098c626ea58f2265866dd576e138c15b29 (patch) | |
| tree | 2d8aeb89bc4b769106ed07d99ae95171a571cdd3 /src/syscall/exec_linux.go | |
| parent | b74f01d76f9fa6a38e9828675e21d50ff950be3b (diff) | |
| download | go-d64c49098c626ea58f2265866dd576e138c15b29.tar.xz | |
cmd/vet: set exit status to non zero for all cases
Vet returns with a nonzero exit for all possible messages in the
buildtag check. However for this file:
//+buildlinux
package main
vet returns a zero exit status:
$ go vet main.go
demo.go:1: possible malformed +build comment
$ echo $?
0
This CL sets the exit status to non zero for the remaining messages in
the buildtag check.
Change-Id: Ia2c35ebc3ec5ac311d2a0295b5b9fdd997a85726
Reviewed-on: https://go-review.googlesource.com/44371
Reviewed-by: Rob Pike <r@golang.org>
Diffstat (limited to 'src/syscall/exec_linux.go')
0 files changed, 0 insertions, 0 deletions
