mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
[fix] Also check if proxy is set before asking for ntp servers
This commit is contained in:
@@ -487,7 +487,7 @@ collect_node_ls_pipeline_worker_count() {
|
||||
}
|
||||
|
||||
collect_ntp_servers() {
|
||||
if [[ $is_airgap || "$NSMSETUP" = 'ADVANCED' || "$MANAGERADV" = 'ADVANCED' ]]; then
|
||||
if [[ $is_airgap || "$NSMSETUP" = 'ADVANCED' || "$MANAGERADV" = 'ADVANCED' || -n $so_proxy ]]; then
|
||||
if whiptail_ntp_ask; then
|
||||
[[ $is_airgap ]] && ntp_servers=""
|
||||
whiptail_ntp_servers "$ntp_servers"
|
||||
|
||||
Reference in New Issue
Block a user