From 9a7ceef09ea1fc8cbe17b324a9d1a2e71e50cb0a Mon Sep 17 00:00:00 2001 From: Jakob Unterwurzacher Date: Mon, 13 Apr 2020 13:09:27 +0200 Subject: shellcheck: make top-level bash scripts warning-free And run shellcheck in test.bash. --- golint.bash | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'golint.bash') diff --git a/golint.bash b/golint.bash index be79ed1..d6fe729 100755 --- a/golint.bash +++ b/golint.bash @@ -8,10 +8,10 @@ OUTPUT=$( ) # No output --> all good -if [[ -z "$OUTPUT" ]] ; then +if [[ -z $OUTPUT ]] ; then exit 0 fi echo "golint.bash:" -echo $OUTPUT +echo "$OUTPUT" exit 1 -- cgit v1.2.3