mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +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:
@@ -896,7 +896,10 @@ compare_main_nic_ip() {
|
||||
|
||||
This is not a supported configuration, please remediate and rerun setup.
|
||||
EOM
|
||||
[[ -n $TESTING ]] || whiptail --title "Security Onion Setup" --msgbox "$message" 10 75
|
||||
|
||||
[[ "$WHATWOULDYOUSAYYAHDOHERE" == "setup" ]] || local whiptail_title="so-monitor-add"
|
||||
|
||||
[[ -n $TESTING ]] || whiptail --title "$whiptail_title" --msgbox "$message" 10 75
|
||||
kill -SIGINT "$(ps --pid $$ -oppid=)"; exit 1
|
||||
fi
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user