GH: fix check-whitespace.yaml error return with multiple commits
Some checks failed
buildbot / buildbot (push) Has been cancelled

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 2026-06-11 06:15:32 +01:00
parent e09c0d32d5
commit da80db978f

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}\")"
;;
"")