diff --git a/GNUmakefile b/GNUmakefile index 9730115b6e..4602852995 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -48,7 +48,7 @@ vet: | cut -d '/' -f 4- \ | xargs -n1 \ go tool vet $(VETARGS) ;\ - if [ $$? -eq 1 ]; then \ + if [ $$? -ne 0 ]; then \ echo ""; \ echo "Vet found suspicious constructs. Please check the reported constructs"; \ echo "and fix them if necessary before submitting the code for reviewal."; \