Update pihole-sync

This commit is contained in:
2021-05-31 21:16:43 -05:00
parent a9ca160cb5
commit 6636289f5d

View File

@@ -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