[fix] Set ntp_string to empty, not ntp_servers

This commit is contained in:
William Wernert
2021-03-29 09:36:24 -04:00
parent eb674b3b93
commit 2ff790699f

View File

@@ -489,7 +489,7 @@ collect_node_ls_pipeline_worker_count() {
collect_ntp_servers() {
if [[ $is_airgap || "$NSMSETUP" = 'ADVANCED' || "$MANAGERADV" = 'ADVANCED' || -n $so_proxy ]]; then
if whiptail_ntp_ask; then
[[ $is_airgap ]] && ntp_servers=()
[[ $is_airgap ]] && ntp_string=""
whiptail_ntp_servers "$ntp_string"
while ! valid_ntp_list "$ntp_string"; do