verify scripts: preserve exit code

these scripts used the result variable pattern but then explicitly exited early with a hardcoded value ....

Kubernetes-commit: ef0547741db55186218fe6368de5fc88314b9355
This commit is contained in:
Benjamin Elder
2025-05-14 21:19:45 -07:00
committed by Kubernetes Publisher
parent e3aa220283
commit 938de50954

View File

@@ -40,5 +40,5 @@ if [[ $ret -eq 0 ]]; then
echo "${DIFFROOT} up to date."
else
echo "${DIFFROOT} is out of date. Please run hack/update-codegen.sh"
exit 1
fi
exit $ret