verify-linkchecker.sh now exits with a non-zero return code if found invalid links

pull/6/head
Chao Xu 2016-02-23 16:51:29 -08:00
parent f5082b6dd7
commit b9a350a7f1
1 changed files with 1 additions and 2 deletions

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