mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +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
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if ! [ -f $install_opt_file ]; then
|
if ! [[ -f $install_opt_file ]]; then
|
||||||
if [[ $is_manager && $is_sensor ]]; then
|
if [[ $is_manager && $is_sensor ]]; then
|
||||||
check_requirements "standalone"
|
check_requirements "standalone"
|
||||||
elif [[ $is_fleet_standalone ]]; then
|
elif [[ $is_fleet_standalone ]]; then
|
||||||
@@ -260,9 +260,9 @@ if ! [ -f $install_opt_file ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ -f $net_init_file ]]; then
|
if [[ -f $net_init_file ]]; then
|
||||||
network_init
|
source "$net_init_file"
|
||||||
else
|
else
|
||||||
source $net_init_file
|
network_init
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ -n "$TURBO" ]]; then
|
if [[ -n "$TURBO" ]]; then
|
||||||
|
|||||||
@@ -70,5 +70,5 @@ export SCRIPTDIR
|
|||||||
install_opt_file=/root/install_opt
|
install_opt_file=/root/install_opt
|
||||||
export install_opt_file
|
export install_opt_file
|
||||||
|
|
||||||
net_init_file=/root/net_int
|
net_init_file=/root/net_init
|
||||||
export net_init_file
|
export net_init_file
|
||||||
|
|||||||
Reference in New Issue
Block a user