[fix] Fix logic to correctly hide prompt

This commit is contained in:
William Wernert
2021-02-12 12:23:45 -05:00
parent 1ffa7afefa
commit 8323f3f57a

View File

@@ -450,7 +450,7 @@ if [[ $is_manager || $is_import ]]; then
get_redirect get_redirect
fi fi
if [[ ! $is_airgap && $is_distmanager || ( $is_sensor || $is_node || $is_fleet_standalone ) && ! $is_eval ]]; then if [[ ! $is_airgap && ( $is_distmanager || ( $is_sensor || $is_node || $is_fleet_standalone ) && ! $is_eval ) ]]; then
whiptail_manager_updates whiptail_manager_updates
if [[ $setup_type == 'network' && $MANAGERUPDATES == 1 ]]; then if [[ $setup_type == 'network' && $MANAGERUPDATES == 1 ]]; then
whiptail_manager_updates_warning whiptail_manager_updates_warning