mirror of
https://github.com/openziti/ziti.git
synced 2026-10-12 15:28:05 +00:00
554: Fixing read option to work in both ZSH and bash
This commit is contained in:
@@ -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")"
|
||||
|
||||
Reference in New Issue
Block a user