Cassandra OOM Alignment

Change-Id: If9792919dba17936965b45361888a44a12a76b67
Issue-ID: SDC-911
Signed-off-by: Yuli Shlosberg <ys9693@att.com>
diff --git a/sdc-os-chef/sdc-sanity/startup.sh b/sdc-os-chef/sdc-sanity/startup.sh
index 3a56a30..349741c 100644
--- a/sdc-os-chef/sdc-sanity/startup.sh
+++ b/sdc-os-chef/sdc-sanity/startup.sh
@@ -1,5 +1,14 @@
 #!/bin/bash
 
-export CHEFNAME=${ENVNAME}
 cd /root/chef-solo
-chef-solo -c solo.rb -E ${CHEFNAME}
\ No newline at end of file
+chef-solo -c solo.rb -E ${ENVNAME}
+
+rc=$?
+
+if [[ $rc != 0 ]]; then
+   echo "Sanity failed !!!"
+   exit $rc
+else
+   echo "completed successfully :-)"
+   exit 0
+fi
\ No newline at end of file