1
0
mirror of https://github.com/pi-hole/pi-hole synced 2024-12-22 14:58:08 +00:00

Merge pull request #3139 from pi-hole/fix/count_before_calling_FTL

Fix wrong number of blocking domains shown on the dashboard
This commit is contained in:
DL6ER 2020-02-17 21:32:45 +01:00 committed by GitHub
commit d14ee26d6a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -760,14 +760,14 @@ update_gravity_timestamp
chown pihole:pihole "${gravityDBfile}"
chmod g+w "${piholeDir}" "${gravityDBfile}"
# Compute numbers to be displayed
gravity_ShowCount
# Determine if DNS has been restarted by this instance of gravity
if [[ -z "${dnsWasOffline:-}" ]]; then
"${PIHOLE_COMMAND}" restartdns reload
fi
# Compute numbers to be displayed
gravity_ShowCount
gravity_Cleanup
echo ""