aboutsummaryrefslogtreecommitdiffstats
path: root/sdc-os-chef/sdc-kibana
diff options
context:
space:
mode:
Diffstat (limited to 'sdc-os-chef/sdc-kibana')
-rw-r--r--sdc-os-chef/sdc-kibana/startup.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/sdc-os-chef/sdc-kibana/startup.sh b/sdc-os-chef/sdc-kibana/startup.sh
index 0efa850fba..ad7f5f75da 100644
--- a/sdc-os-chef/sdc-kibana/startup.sh
+++ b/sdc-os-chef/sdc-kibana/startup.sh
@@ -1,8 +1,9 @@
#!/bin/sh
-export CHEFNAME=${ENVNAME}
cd /root/chef-solo
-chef-solo -c solo.rb -E ${CHEFNAME}
+chef-solo -c solo.rb -E ${ENVNAME}
+rc=$?
+if [[ $rc != 0 ]]; then exit $rc; fi
/docker-entrypoint.sh kibana