aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--util/travis/lint.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/travis/lint.sh b/util/travis/lint.sh
index 1174ed257..887e621f5 100644
--- a/util/travis/lint.sh
+++ b/util/travis/lint.sh
@@ -20,7 +20,7 @@ function perform_lint() {
whitelisted=$(awk '$1 == "'$f'" { print 1 }' "$CLANG_FORMAT_WHITELIST")
# If file is not whitelisted, mark a failure
- if [ -z ${whitelisted} ]; then
+ if [ -z "${whitelisted}" ]; then
errorcount=$((errorcount+1))
printf "The file %s is not compliant with the coding style" "$f"