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:
Chao Xu 2016-02-24 15:42:34 -08:00
commit e113aef9f0

View File

@ -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