diff options
Diffstat (limited to 'sdc-os-chef/sdc-cassandra/startup.sh')
-rwxr-xr-x | sdc-os-chef/sdc-cassandra/startup.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sdc-os-chef/sdc-cassandra/startup.sh b/sdc-os-chef/sdc-cassandra/startup.sh index 2f7cc3c53d..49edc26130 100755 --- a/sdc-os-chef/sdc-cassandra/startup.sh +++ b/sdc-os-chef/sdc-cassandra/startup.sh @@ -20,6 +20,7 @@ echo "########### starting cassandra ###########" sleep 10 chef-solo -c solo.rb -E ${CHEFNAME} - +rc=$? +if [[ $rc != 0 ]]; then exit $rc; fi while true; do sleep 2; done |