mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-24 12:15:52 +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
|
||||
echo "Summary of invalid links:"
|
||||
cat ${OUTPUT}/error
|
||||
exit 1
|
||||
fi
|
||||
|
||||
trap "cleanup" EXIT SIGINT
|
||||
|
||||
# ex: ts=2 sw=2 et filetype=sh
|
||||
|
Loading…
Reference in New Issue
Block a user