mirror of
https://github.com/pi-hole/pi-hole
synced 2024-12-22 06:48:07 +00:00
Merge pull request #4216 from pi-hole/fix/debugpiholelog
Debug Log bugfix
This commit is contained in:
commit
36470eb138
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user