From 7ca8a1aba4eef8bc66ca38ce6311c6e2143de35c Mon Sep 17 00:00:00 2001 From: Geoff Berl Date: Fri, 3 Dec 2021 13:41:57 -0500 Subject: [PATCH] 554: Fixing read option to work in both ZSH and bash --- quickstart/docker/image/ziti-cli-functions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quickstart/docker/image/ziti-cli-functions.sh b/quickstart/docker/image/ziti-cli-functions.sh index 15c955266..3847b3104 100755 --- a/quickstart/docker/image/ziti-cli-functions.sh +++ b/quickstart/docker/image/ziti-cli-functions.sh @@ -324,7 +324,7 @@ function ziti_expressConfiguration { if [[ "${ZITIx_EXPRESS_COMPLETE-}" != "" ]]; then echo -e "$(RED " --- It looks like you've run an express install in this shell already. ---")" echo -en "Would you like to clear existing Ziti variables and continue (y/n)? " - read -q -r + read -n 1 -r echo if [[ "${REPLY}" =~ [Yy]$ ]]; then echo -e "$(GREEN "Clearing existing Ziti variables and continuing with express install")"