summaryrefslogtreecommitdiff
path: root/golint.bash
diff options
context:
space:
mode:
authorJakob Unterwurzacher2020-04-13 13:09:27 +0200
committerJakob Unterwurzacher2020-04-13 14:54:04 +0200
commit9a7ceef09ea1fc8cbe17b324a9d1a2e71e50cb0a (patch)
treee0806ffcfe2095525d655b15cd7034ef92ee590d /golint.bash
parenta2ad14b9ac92384f7cc0e8a0d8f385a9cd9a299a (diff)
shellcheck: make top-level bash scripts warning-free
And run shellcheck in test.bash.
Diffstat (limited to 'golint.bash')
-rwxr-xr-xgolint.bash4
1 files changed, 2 insertions, 2 deletions
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