diff --git a/pihole-sync b/pihole-sync index 014fc09..872c5ce 100755 --- a/pihole-sync +++ b/pihole-sync @@ -157,7 +157,7 @@ pull () { # Update local Git repo from remote Git repo git remote update > /dev/null - CHANGED=$(git log HEAD..origin/master --oneline) + CHANGED=$(git log HEAD..origin/main --oneline) if [ -n "${CHANGED}" ]; then echo 'Remote Git repo is different than local Pi-hole lists. Updating local lists...'; # Remove -q option if you don't want to run in "quiet" mode