diff --git a/setup/so-functions b/setup/so-functions index 912bd8175..0ddf6bd6b 100755 --- a/setup/so-functions +++ b/setup/so-functions @@ -1946,10 +1946,10 @@ securityonion_repo() { logCmd "dnf repolist all" fi if [[ $waitforstate ]]; then - if [[ ! is_airgap ]]; then - # Build the repo locally so we can use it - echo "Syncing Repo" - repo_sync_local + if [[ ! $is_airgap ]]; then + # Build the repo locally so we can use it + echo "Syncing Repo" + repo_sync_local fi fi fi