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 the variable contains a value, it found an error in the log
if [[ -n ${error_to_check_for} ]]; then if [[ -n ${error_to_check_for} ]]; then
# So we can print it in red to make it visible to the user # 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 else
# If the variable does not a value (the current default behavior), so do not obfuscate anything # If the variable does not a value (the current default behavior), so do not obfuscate anything
if [[ -z ${OBFUSCATE} ]]; then if [[ -z ${OBFUSCATE} ]]; then