diff --git a/setup/so-functions b/setup/so-functions index 1f6610067..75345b3ac 100755 --- a/setup/so-functions +++ b/setup/so-functions @@ -1969,6 +1969,7 @@ securityonion_repo() { info "Backing up the .repo files that were added by the redhat-release package." logCmd "mv -bvf /etc/yum.repos.d/redhat* /root/oldrepos/" logCmd "dnf repolist all" + fi if [[ $waitforstate ]]; then if [[ ! $is_airgap ]]; then # Build the repo locally so we can use it