ARTEMIS-4638 fix bashism in install validation script
This commit is contained in:
parent
b158a892c9
commit
04b5585d66
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue