From f119c923fa9b186d38fc64fca897a10661448389 Mon Sep 17 00:00:00 2001 From: Tin Lam Date: Mon, 25 Jan 2021 05:40:50 -0600 Subject: [PATCH] fix(aio): fixes script This change updates the error exit code to be 0-255, rather than a negative value. Signed-off-by: Tin Lam Change-Id: I554778f475eee6d9976ab7f0fce2362d77af1f17 --- tools/deployment/common/wait-for-pods.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/deployment/common/wait-for-pods.sh b/tools/deployment/common/wait-for-pods.sh index 5930fcb7..271e2cc8 100755 --- a/tools/deployment/common/wait-for-pods.sh +++ b/tools/deployment/common/wait-for-pods.sh @@ -44,6 +44,6 @@ while true; do fi [ $READY == "False" ] && echo "Some pods are not ready" [ $JOBR == "False" ] && echo "Some jobs have not succeeded" - exit -1 + exit 1 fi done