mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
Symmetrical spaces + remove useless logic
This commit is contained in:
@@ -1040,14 +1040,11 @@ whiptail_net_method() {
|
||||
|
||||
EOM
|
||||
local options=(
|
||||
" Direct" ""
|
||||
" Direct " ""
|
||||
)
|
||||
local proxy_desc="proxy the traffic for git, docker client, wget, curl, ${pkg_mngr}, and various other SO components through a separate server in your environment."
|
||||
|
||||
if [[ $is_minion ]]; then
|
||||
local mngr_article
|
||||
if [[ $is_distmanager ]]; then mngr_article="this"; else mngr_article="the"; fi
|
||||
|
||||
read -r -d '' options_msg <<- EOM
|
||||
${options_msg}
|
||||
|
||||
@@ -1059,9 +1056,9 @@ whiptail_net_method() {
|
||||
EOM
|
||||
|
||||
options+=(
|
||||
" Direct + Manager" ""
|
||||
" Proxy" ""
|
||||
" Proxy + Manager" ""
|
||||
" Direct + Manager " ""
|
||||
" Proxy " ""
|
||||
" Proxy + Manager " ""
|
||||
)
|
||||
local height=25
|
||||
else
|
||||
@@ -1071,7 +1068,7 @@ whiptail_net_method() {
|
||||
"Proxy" - ${proxy_desc}
|
||||
EOM
|
||||
options+=(
|
||||
" Proxy" ""
|
||||
" Proxy " ""
|
||||
)
|
||||
local height=17
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user