[fix] Add condition to zeek state during setup for ZEEKVERSION

Fixes #1990
This commit is contained in:
William Wernert
2020-11-20 09:58:07 -05:00
parent 79ec1de83a
commit e62b52da1b
2 changed files with 7 additions and 4 deletions

View File

@@ -97,7 +97,8 @@ whiptail_zeek_version() {
[ -n "$TESTING" ] && return
ZEEKVERSION=$(whiptail --title "Security Onion Setup" --radiolist "What tool would you like to use to generate metadata?" 20 75 4 "ZEEK" "Zeek (formerly known as Bro)" ON \
ZEEKVERSION=$(whiptail --title "Security Onion Setup" --radiolist "What tool would you like to use to generate metadata?" 20 75 4 \
"ZEEK" "Zeek (formerly known as Bro)" ON \
"SURICATA" "Suricata" OFF 3>&1 1>&2 2>&3)
local exitstatus=$?