mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
[fix] Correct reversed logic
This commit is contained in:
@@ -246,7 +246,7 @@ if [[ ( $is_manager || $is_import ) && $is_iso ]]; then
|
||||
fi
|
||||
fi
|
||||
|
||||
if ! [ -f $install_opt_file ]; then
|
||||
if ! [[ -f $install_opt_file ]]; then
|
||||
if [[ $is_manager && $is_sensor ]]; then
|
||||
check_requirements "standalone"
|
||||
elif [[ $is_fleet_standalone ]]; then
|
||||
@@ -260,9 +260,9 @@ if ! [ -f $install_opt_file ]; then
|
||||
fi
|
||||
|
||||
if [[ -f $net_init_file ]]; then
|
||||
network_init
|
||||
source "$net_init_file"
|
||||
else
|
||||
source $net_init_file
|
||||
network_init
|
||||
fi
|
||||
|
||||
if [[ -n "$TURBO" ]]; then
|
||||
|
||||
@@ -70,5 +70,5 @@ export SCRIPTDIR
|
||||
install_opt_file=/root/install_opt
|
||||
export install_opt_file
|
||||
|
||||
net_init_file=/root/net_int
|
||||
net_init_file=/root/net_init
|
||||
export net_init_file
|
||||
|
||||
Reference in New Issue
Block a user