[fix] Don't print hostname in whiptail_set_redirect

* Fixes #598
This commit is contained in:
William Wernert
2020-04-22 14:14:57 -04:00
parent a3927e2e5a
commit 7c1bf39ff4

View File

@@ -897,7 +897,7 @@ whiptail_set_redirect() {
REDIRECTINFO=$(whiptail --title "Security Onion Setup" --radiolist \
"Choose the access method for the web interface:" 20 75 4 \
"IP" "Use IP to access the web interface" ON \
"HOSTNAME" "Use Hostname ($HOSTNAME) to access the web interface" OFF \
"HOSTNAME" "Use hostname to access the web interface" OFF \
"OTHER" "Use a different name like a FQDN or Load Balancer" OFF 3>&1 1>&2 2>&3 )
local exitstatus=$?
whiptail_check_exitstatus $exitstatus