diff --git a/setup/so-setup b/setup/so-setup index a925207a9..640363f2b 100755 --- a/setup/so-setup +++ b/setup/so-setup @@ -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