[fix] Add spacing to whiptail menu + preset err

This commit is contained in:
William Wernert
2021-01-15 08:35:37 -05:00
parent dbe22f901d
commit 0f6805823e
2 changed files with 3 additions and 3 deletions

View File

@@ -885,7 +885,7 @@ configure_network_sensor() {
connection.autoconnect "yes" >> "$setup_log" 2>&1
fi
local err
local err=0
for BNIC in "${BNICS[@]}"; do
add_interface_bond0 "$BNIC" >> "$setup_log" 2>&1
local ret=$?

View File

@@ -646,8 +646,8 @@ whiptail_first_menu_iso() {
[ -n "$TESTING" ] && return
option=$(whiptail --title "Security Onion Setup" --menu "Select an option" 10 75 2 \
"Security Onion Installer" "Run the standard Security Onion installation " \
"Configure Network" "Configure networking only " \
"Install " "Run the standard Security Onion installation " \
"Configure Network " "Configure networking only " \
3>&1 1>&2 2>&3
)
local exitstatus=$?