From 692b20f1b2ec619ee9471ee070bc6b43c17284ee Mon Sep 17 00:00:00 2001 From: Jakob Unterwurzacher Date: Sun, 30 Apr 2017 13:14:54 +0200 Subject: golint.bash: fix exit codes We want to exit with 1 only if we we have complaints left after the greps. --- test.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test.bash') diff --git a/test.bash b/test.bash index 405d3b2..32f77dc 100755 --- a/test.bash +++ b/test.bash @@ -33,7 +33,7 @@ fi if go tool | grep vet > /dev/null ; then go tool vet -all -shadow . else - echo "\"go tool vet\" not available - skipping" + echo "'go tool vet' not available - skipping" fi # We don't want all the subprocesses holding the lock file open -- cgit v1.2.3