[fix] Move get_redirect to run under any master node

This commit is contained in:
William Wernert
2020-04-22 13:59:57 -04:00
parent 1d55d00caf
commit a3927e2e5a

View File

@@ -173,14 +173,13 @@ if [[ $is_master && ! $is_eval ]]; then
if [ "$MASTERADV" = 'ADVANCED' ] && [ "$BROVERSION" != 'SURICATA' ]; then if [ "$MASTERADV" = 'ADVANCED' ] && [ "$BROVERSION" != 'SURICATA' ]; then
whiptail_master_adv_service_brologs whiptail_master_adv_service_brologs
fi fi
get_redirect
fi fi
if [[ $is_master ]]; then if [[ $is_master ]]; then
whiptail_components_adv_warning whiptail_components_adv_warning
whiptail_enable_components whiptail_enable_components
collect_webuser_inputs collect_webuser_inputs
get_redirect
fi fi
if [[ $is_distmaster || ( $is_sensor || $is_node ) && ! $is_eval ]]; then if [[ $is_distmaster || ( $is_sensor || $is_node ) && ! $is_eval ]]; then