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

Merge pull request #4216 from pi-hole/fix/debugpiholelog

Debug Log bugfix
This commit is contained in:
Adam Warner 2021-07-04 01:53:49 +01:00 committed by GitHub
commit 36470eb138
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1299,7 +1299,7 @@ obfuscated_pihole_log() {
# If the variable contains a value, it found an error in the log
if [[ -n ${error_to_check_for} ]]; then
# So we can print it in red to make it visible to the user
log_write " ${CROSS} ${COL_RED}${head_line}${COL_NC} (${FAQ_BAD_ADDRESS})"
log_write " ${CROSS} ${COL_RED}${line}${COL_NC} (${FAQ_BAD_ADDRESS})"
else
# If the variable does not a value (the current default behavior), so do not obfuscate anything
if [[ -z ${OBFUSCATE} ]]; then