GH: fix check-whitespace.yaml error return with multiple commits

Commit 126cb16e3 ("GH: fix check-whitespace.yaml error return with
multiple commits") removed the wrong err=0. Put it back and remove the
*right* one!
This commit is contained in:
Andrew Clayton committed 2026-06-11 06:23:00 +01:00
1 parent e09c0d32d5
commit da80db978f
1 file changed
+1 -1
+1 -1
View File
@@ -18,12 +18,12 @@ jobs:
run: |
echo "## Whitespace Check Results" >${GITHUB_STEP_SUMMARY}
echo '```' >>${GITHUB_STEP_SUMMARY}
err=0
commit=
while read dash hash subj
do
case "${dash}" in
"---")
err=0
commit="${hash} (\"${subj}\")"
;;
"")