VoltE fix
[sdc.git] / sdc-os-chef / scripts / docker_health.sh
index 1db5282..832b25a 100755 (executable)
@@ -14,7 +14,7 @@ curl http://localhost:8181/sdc1/rest/healthCheck
 echo ""
 echo ""
 res=`curl -s -X GET -H "Accept: application/json" -H "Content-Type: application/json" -H "USER_ID: jh0003" "http://localhost:8080/sdc2/rest/v1/user/demo" | wc -l`
-if [[ ! ${res} -eq 0 ]]
+if [[ ${res} != 0 ]]
 then
     echo "Error [${res}] while user existance check"
     exit ${res}