mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-07 09:42:46 +01:00
Whiptail title fixes
- Use a variable for the title - Fix cases where the whiptail title wasn't changed previously
This commit is contained in:
@@ -108,11 +108,10 @@ catch() {
|
||||
|
||||
automated=no
|
||||
progress() {
|
||||
local title='Security Onion Setup'
|
||||
local msg=${1:-'Please wait while installing...'}
|
||||
|
||||
if [ $automated == no ]; then
|
||||
whiptail --title "$title" --gauge "$msg" 6 70 0 # append to text
|
||||
whiptail --title "$whiptail_title" --gauge "$msg" 6 70 0 # append to text
|
||||
else
|
||||
cat >> $setup_log 2>&1
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user