mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-28 14:07:14 +00:00
Merge pull request #21822 from caesarxuchao/error-exit-linkcheck
verify-linkchecker.sh now exits with a non-zero return code if found invalid links
This commit is contained in:
commit
e113aef9f0
@ -52,8 +52,7 @@ done
|
|||||||
if [ ${found_invalid} = true ]; then
|
if [ ${found_invalid} = true ]; then
|
||||||
echo "Summary of invalid links:"
|
echo "Summary of invalid links:"
|
||||||
cat ${OUTPUT}/error
|
cat ${OUTPUT}/error
|
||||||
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
trap "cleanup" EXIT SIGINT
|
|
||||||
|
|
||||||
# ex: ts=2 sw=2 et filetype=sh
|
# ex: ts=2 sw=2 et filetype=sh
|
||||||
|
Loading…
Reference in New Issue
Block a user