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