Skip to content

Commit

Permalink
Merge pull request kubernetes#21822 from caesarxuchao/error-exit-link…
Browse files Browse the repository at this point in the history
…check

verify-linkchecker.sh now exits with a non-zero return code if found invalid links
  • Loading branch information
caesarxuchao committed Feb 24, 2016
2 parents 8061489 + b9a350a commit e113aef
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions hack/after-build/verify-linkcheck.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit e113aef

Please sign in to comment.