diff options
-rw-r--r-- | sdc-os-chef/scripts/docker_health.sh | 2 | ||||
-rwxr-xr-x[-rw-r--r--] | sdc-os-chef/sdc-cassandra/startup.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sdc-os-chef/scripts/docker_health.sh b/sdc-os-chef/scripts/docker_health.sh index 832b25a237..1db5282446 100644 --- a/sdc-os-chef/scripts/docker_health.sh +++ b/sdc-os-chef/scripts/docker_health.sh @@ -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} != 0 ]] +if [[ ! ${res} -eq 0 ]] then echo "Error [${res}] while user existance check" exit ${res} diff --git a/sdc-os-chef/sdc-cassandra/startup.sh b/sdc-os-chef/sdc-cassandra/startup.sh index 2bfee3211c..89d95ea022 100644..100755 --- a/sdc-os-chef/sdc-cassandra/startup.sh +++ b/sdc-os-chef/sdc-cassandra/startup.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash cd /root/chef-solo export CHEFNAME=${ENVNAME} |