Descriptioncmd/vet: fix bug where incorrect exit code was returned
Fixes issue 8792.
This is a simple change that fixes the issue. It may be desireable
to opt for a larger code change that makes this problem less likely
to be inadvertedly reintroduced in the future. For instance, a vetMain()
func can be used similar to gofmtMain(), or the os.Exit call can be
deferred.
Patch Set 1 #Patch Set 2 : diff -r 51cd2f4f6f2dc1277bf25fec7738669c304352ae https://code.google.com/p/go.tools #Patch Set 3 : diff -r 51cd2f4f6f2dc1277bf25fec7738669c304352ae https://code.google.com/p/go.tools #MessagesTotal messages: 3
|