From b9a350a7f16d04a67c2749adf0455d9b1f385251 Mon Sep 17 00:00:00 2001 From: Chao Xu Date: Tue, 23 Feb 2016 16:51:29 -0800 Subject: [PATCH] verify-linkchecker.sh now exits with a non-zero return code if found invalid links --- hack/after-build/verify-linkcheck.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/hack/after-build/verify-linkcheck.sh b/hack/after-build/verify-linkcheck.sh index 64fc5de09a4a5..577de2dee76f3 100755 --- a/hack/after-build/verify-linkcheck.sh +++ b/hack/after-build/verify-linkcheck.sh @@ -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