Only show 'Waiting for TheHive to start up' status if setup is actually installing thehive

This commit is contained in:
Jason Ertel
2020-08-18 11:36:29 -04:00
parent b214b20e58
commit 45d957566d

View File

@@ -726,9 +726,10 @@ else
IP=$ALLOW_CIDR so-allow -$ALLOW_ROLE >> $setup_log 2>&1
fi
set_progress_str 99 'Waiting for TheHive to start up'
if [[ $THEHIVE == 1 ]]; then check_hive_init >> $setup_log 2>&1; fi
if [[ $THEHIVE == 1 ]]; then
set_progress_str 99 'Waiting for TheHive to start up'
check_hive_init >> $setup_log 2>&1
fi
} | whiptail_gauge_post_setup "Running post-installation steps..."
whiptail_setup_complete