[wip] Ask user if they want to re-enter the proxy

This commit is contained in:
William Wernert
2021-03-04 11:53:08 -05:00
parent 5a97341d33
commit 13dc822197
3 changed files with 12 additions and 9 deletions

View File

@@ -301,8 +301,12 @@ if ! [[ -f $install_opt_file ]]; then
if [[ $is_manager ]]; then
collect_proxy
while ! proxy_validate; do
whiptail_invalid_proxy
collect_proxy no_ask
if whiptail_invalid_proxy; then
collect_proxy no_ask
else
proxy_addr=""
break
fi
done
[[ -n "$proxy_addr" ]] && set_proxy >> $setup_log 2>&1
fi