summaryrefslogtreecommitdiffstats
path: root/asdctool/sdc-cassandra-init/startup.sh
diff options
context:
space:
mode:
Diffstat (limited to 'asdctool/sdc-cassandra-init/startup.sh')
-rw-r--r--asdctool/sdc-cassandra-init/startup.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/asdctool/sdc-cassandra-init/startup.sh b/asdctool/sdc-cassandra-init/startup.sh
index 3e474f3c89..2a20eaa67d 100644
--- a/asdctool/sdc-cassandra-init/startup.sh
+++ b/asdctool/sdc-cassandra-init/startup.sh
@@ -1,6 +1,6 @@
-#!/bin/bash
+#!/bin/sh
cd /home/sdc/chef-solo
chef-solo -c solo.rb -E ${ENVNAME}
rc=$?
-if [[ $rc != 0 ]]; then exit $rc; fi
+if [ $rc -ne 0 ]; then exit $rc; fi