[fix] Correct reversed logic

This commit is contained in:
William Wernert
2020-12-30 14:01:20 -05:00
parent 0a57b78900
commit 3f3fe78322
2 changed files with 4 additions and 4 deletions

View File

@@ -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

View File

@@ -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