mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +01:00
Send stdout to log, and actually populate error message
This commit is contained in:
@@ -164,7 +164,7 @@ check_hive_init() {
|
||||
|
||||
check_manager_state() {
|
||||
echo "Checking state of manager services. This may take a moment..."
|
||||
retry 2 15 "__check_so_status" && retry 2 15 "__check_salt_master" && return 0 || return 1
|
||||
retry 2 15 "__check_so_status" >> $setup_log 2>&1 && retry 2 15 "__check_salt_master" >> $setup_log 2>&1 && return 0 || return 1
|
||||
}
|
||||
|
||||
__check_so_status() {
|
||||
|
||||
@@ -1147,7 +1147,7 @@ whiptail_manager_adv_service_zeeklogs() {
|
||||
|
||||
whiptail_manager_error() {
|
||||
local msg
|
||||
read -r -d '' <<- EOM
|
||||
read -r -d '' msg <<- EOM
|
||||
Setup could not determine if the manager $MSRV is in a good state.
|
||||
|
||||
Continuing without verifying all services on the manager are running may result in a failure.
|
||||
|
||||
Reference in New Issue
Block a user