diff --git a/tools/test-documentation b/tools/test-documentation index 669d54efff..7d03ae210c 100755 --- a/tools/test-documentation +++ b/tools/test-documentation @@ -58,7 +58,7 @@ else fi result=$? -if [ "$result" = 1 ]; then +if [ "$result" -ne 0 ]; then color_message 91 "Failed!" exit 1 else