diff --git a/setup/so-functions b/setup/so-functions index f5a33c910..f0da78ba4 100755 --- a/setup/so-functions +++ b/setup/so-functions @@ -783,7 +783,7 @@ configure_network_sensor() { fi # Create the bond interface only if it doesn't already exist - logCmd "nmcli -f name,uuid -p con | grep -q '$INTERFACE'" + nmcli -f name,uuid -p con | grep -q '$INTERFACE' local found_int=$? if [[ $found_int != 0 ]]; then @@ -1907,7 +1907,7 @@ repo_sync_local() { echo "gpgcheck=1" >> /root/repodownload.conf echo "gpgkey=https://repo.securityonion.net/file/securityonion-repo/keys/securityonion.pub" >> /root/repodownload.conf - reposync --norepopath -n -g -l -d -m -c /root/repodownload.conf -r securityonionsync --download-metadata -p /nsm/repo/ + logCmd "reposync --norepopath -n -g -l -d -m -c /root/repodownload.conf -r securityonionsync --download-metadata -p /nsm/repo/" # After the download is complete run createrepo