diff --git a/dev-support/publish_hbase_website.sh b/dev-support/publish_hbase_website.sh index f63cc216c1f..0350a6d5fab 100755 --- a/dev-support/publish_hbase_website.sh +++ b/dev-support/publish_hbase_website.sh @@ -90,7 +90,7 @@ if [ $INTERACTIVE ]; then [Yy]* ) mvn clean package javadoc:aggregate site site:stage -DskipTests status=$? - if [ $status != 0 ]; then + if [ $status -ne 0 ]; then echo "The website does not build. Aborting." exit $status fi