From 3543417fb0d7d661e3ced46549302e3bf1c8182f Mon Sep 17 00:00:00 2001 From: Tomas Tomecek Date: Fri, 12 Jul 2019 15:27:58 +0200 Subject: [PATCH] kube-init.sh: die is not a command Signed-off-by: Tomas Tomecek --- scripts/kube-init.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/kube-init.sh b/scripts/kube-init.sh index 32cbc0472a..b43890c566 100755 --- a/scripts/kube-init.sh +++ b/scripts/kube-init.sh @@ -108,7 +108,8 @@ done # Shut down CI if minikube did not start and show logs if [ $MINIKUBE_OK == "false" ]; then sudo minikube logs - die $LINENO "minikube did not start" + echo "minikube did not start (line: ${LINENO})" + exit 1 fi echo "Dump Kubernetes Objects..."