mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-31 23:37:01 +00:00
verify-linkchecker.sh now exits with a non-zero return code if found invalid links
This commit is contained in:
parent
f5082b6dd7
commit
b9a350a7f1
@ -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