test-documentation: Fail on any nonzero exit code.

Signed-off-by: Anders Kaseorg <anders@zulipchat.com>
This commit is contained in:
Anders Kaseorg 2019-05-30 00:52:22 -07:00 committed by Tim Abbott
parent 0ca9c260ae
commit 4c60e994c8
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ else
fi fi
result=$? result=$?
if [ "$result" = 1 ]; then if [ "$result" -ne 0 ]; then
color_message 91 "Failed!" color_message 91 "Failed!"
exit 1 exit 1
else else