From 6636289f5d5d415355b24a1ff7cc250270a76399 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Mon, 31 May 2021 21:16:43 -0500 Subject: [PATCH] Update pihole-sync --- pihole-sync | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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