mirror of
https://github.com/pi-hole/web.git
synced 2025-12-24 20:55:28 +00:00
This patch counts empty lines and dies properly with a JSON error. This fixed my issue. Also I have pi-hole running with apache2 and so no /var/log/lighttpd/error.log exists. Fix: Try apache2 logging location and if not found then write log to a /tmp file. Signed-off-by: Philipp Kolmann <philipp@kolmann.at>