diff --git a/scripts/validate_xhtml5.sh b/scripts/validate_xhtml5.sh
index 1a2cb265b..6d0e6abda 100755
--- a/scripts/validate_xhtml5.sh
+++ b/scripts/validate_xhtml5.sh
@@ -7,6 +7,6 @@ if [ -n "$(echo "$text"|grep "The document validates according to the specified
else
echo "=== $1 ==="
echo "$text"
- exit 0 #1
+ exit 1
fi