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

View File

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