Change whiptail logic

This commit is contained in:
Mike Reeves
2020-10-19 16:38:17 -04:00
parent bbb825a207
commit f893cf203f

View File

@@ -320,8 +320,10 @@ fi
if [[ $is_manager && ! $is_eval ]]; then
whiptail_manager_adv
if [[ "$install_type" = 'MANAGER' ]] || [[ "$install_type" = 'MANAGERSEARCH' ]]; then
whiptail_manager_adv_escluster
if [ "$MANAGERADV" = 'ADVANCED' ] && [ "$ZEEKVERSION" != 'SURICATA' ]; then
if [ "$install_type" = 'MANAGER' ]] || [ $install_type = 'MANAGERSEARCH' ]; then
whiptail_manager_adv_escluster
fi
fi
whiptail_zeek_version
# Don't run this function for now since Snort is not yet supported