mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
ESCLUSTERNAME is empty for standalone, so check if it's set before listing
This commit is contained in:
@@ -574,7 +574,7 @@ whiptail_end_settings() {
|
|||||||
# ADVANCED
|
# ADVANCED
|
||||||
if [[ $MANAGERADV == 'ADVANCED' ]]; then
|
if [[ $MANAGERADV == 'ADVANCED' ]]; then
|
||||||
__append_end_msg "Advanced Manager Settings:"
|
__append_end_msg "Advanced Manager Settings:"
|
||||||
__append_end_msg " ES Cluster Name: $ESCLUSTERNAME"
|
[[ -n $ESCLUSTERNAME ]] && __append_end_msg " ES Cluster Name: $ESCLUSTERNAME"
|
||||||
if [[ ${#BLOGS[@]} -gt 0 ]]; then
|
if [[ ${#BLOGS[@]} -gt 0 ]]; then
|
||||||
__append_end_msg " Zeek Logs Enabled:"
|
__append_end_msg " Zeek Logs Enabled:"
|
||||||
for log in "${BLOGS[@]}"; do
|
for log in "${BLOGS[@]}"; do
|
||||||
|
|||||||
Reference in New Issue
Block a user