mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-21 16:33:08 +01:00
Initial support for checking state of manager during setup
This commit is contained in:
@@ -574,6 +574,10 @@ if [[ $is_manager || $is_import ]]; then collect_so_allow; fi
|
||||
# This block sets REDIRECTIT which is used by a function outside the below subshell
|
||||
set_redirect >> $setup_log 2>&1
|
||||
|
||||
if [[ $is_minion ]] && ! check_manager_state; then
|
||||
whiptail_manager_error || exit 1
|
||||
fi
|
||||
|
||||
whiptail_end_settings
|
||||
|
||||
# From here on changes will be made.
|
||||
|
||||
Reference in New Issue
Block a user