Update pihole-sync
This commit is contained in:
1 parent
a9ca160cb5
commit
6636289f5d
1 file changed
+1
-1
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user