From 12501e00796904513881980ce43e5f7fbeef66a5 Mon Sep 17 00:00:00 2001 From: Mike Reeves Date: Mon, 15 Mar 2021 17:41:45 -0400 Subject: [PATCH] Add check license to its own logic --- setup/so-setup | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/setup/so-setup b/setup/so-setup index eaf7c7657..e9039f164 100755 --- a/setup/so-setup +++ b/setup/so-setup @@ -249,13 +249,16 @@ fi # Check if this is an airgap install if [[ ( $is_manager || $is_import ) && $is_iso ]]; then - check_elastic_license whiptail_airgap if [[ "$INTERWEBS" == 'AIRGAP' ]]; then is_airgap=true fi fi +if [[ $is_manager || $is_import ]]; then + check_elastic_license +fi + if ! [[ -f $install_opt_file ]]; then if [[ $is_manager && $is_sensor ]]; then check_requirements "standalone"