From 45d957566da2dd9cc0d063ea51fa560c4236d4a6 Mon Sep 17 00:00:00 2001 From: Jason Ertel Date: Tue, 18 Aug 2020 11:36:29 -0400 Subject: [PATCH] Only show 'Waiting for TheHive to start up' status if setup is actually installing thehive --- setup/so-setup | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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