diff --git a/artemis-distribution/src/test/scripts/validate-instalation.sh b/artemis-distribution/src/test/scripts/validate-instalation.sh index 64a999499d..95465e7d96 100755 --- a/artemis-distribution/src/test/scripts/validate-instalation.sh +++ b/artemis-distribution/src/test/scripts/validate-instalation.sh @@ -76,7 +76,7 @@ sleep 5 export HTTP_CODE=$(curl -H "Origin:http://localhost" -u admin:admin --write-out '%{http_code}' --silent --output /dev/null http://localhost:8161/console/jolokia/read/org.apache.activemq.artemis:broker=%220.0.0.0%22/Version) -if [[ "$HTTP_CODE" -ne 200 ]] +if [ "$HTTP_CODE" -ne 200 ] then echo "Artemis Jolokia REST API check failed: " $HTTP_CODE else