From f9aa081666dcf6a8a6c8a3e061fd47a72370595d Mon Sep 17 00:00:00 2001 From: Tom Wilkie Date: Wed, 23 Mar 2016 11:15:40 +0000 Subject: [PATCH] Correctly fail when spelling mistakes are found. --- lint | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lint b/lint index 01ad47085..7d539f5da 100755 --- a/lint +++ b/lint @@ -54,7 +54,7 @@ function spell_check { return $lint_result fi - if misspell -i "$IGNORE_SPELLINGS" "${filename}"; then + if ! misspell -error -i "$IGNORE_SPELLINGS" "${filename}"; then lint_result=1 fi