mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +01:00
[wip] Fix how collect_proxy function works on retry
This commit is contained in:
@@ -537,7 +537,15 @@ collect_patch_schedule_name_import() {
|
|||||||
|
|
||||||
collect_proxy() {
|
collect_proxy() {
|
||||||
local ask=${1:-true}
|
local ask=${1:-true}
|
||||||
if [[ $ask == true ]] && whiptail_proxy_ask; then
|
local use_proxy
|
||||||
|
if [[ $ask != true ]]; then
|
||||||
|
use_proxy=0
|
||||||
|
else
|
||||||
|
whiptail_proxy_ask
|
||||||
|
use_proxy=$?
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [[ $use_proxy == 0 ]]; then
|
||||||
|
|
||||||
whiptail_proxy_addr
|
whiptail_proxy_addr
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user