aboutsummaryrefslogtreecommitdiff
path: root/util/lint/lint-stable-003-whitespace
diff options
context:
space:
mode:
Diffstat (limited to 'util/lint/lint-stable-003-whitespace')
-rwxr-xr-xutil/lint/lint-stable-003-whitespace2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/lint/lint-stable-003-whitespace b/util/lint/lint-stable-003-whitespace
index f9b7891d7c..b2011e7f65 100755
--- a/util/lint/lint-stable-003-whitespace
+++ b/util/lint/lint-stable-003-whitespace
@@ -20,7 +20,7 @@ INCLUDELIST="src util payloads Makefile* toolchain.inc"
# shellcheck disable=SC2086,SC2046
if uname | grep -qi "linux"; then
- grep -l "[[:space:]][[:space:]]*$" \
+ grep -n -H "[[:space:]][[:space:]]*$" \
$(git ls-files $INCLUDELIST | \
grep -Ev "($EXCLUDELIST)" ) | \
sed -e "s,^.*$,File & has lines ending with whitespace.,"