ARTEMIS-4638 fix bashism in install validation script

This commit is contained in:
Justin Bertram 2024-02-06 11:59:01 -06:00 committed by Robbie Gemmell
parent b158a892c9
commit 04b5585d66
1 changed files with 1 additions and 1 deletions

View File

@ -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