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

Fix wrong number of blocking domains shown on the dashboard
pull/3140/head
DL6ER 4 years ago committed by GitHub
commit d14ee26d6a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save