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

Use GREEN if dig was successful

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
This commit is contained in:
RD WebDesign 2022-12-08 19:58:00 -03:00
parent a206980242
commit 1550f29f06
No known key found for this signature in database
GPG Key ID: AE3C7FC910687F33

View File

@ -437,7 +437,7 @@ os_check() {
fi fi
# Print dig response and the final check result # Print dig response and the final check result
log_write "${INFO} dig return code: ${COL_RED}${digReturnCode}${COL_NC}" log_write "${INFO} dig return code: ${COL_GREEN}${digReturnCode}${COL_NC}"
log_write "${INFO} dig response: ${response}" log_write "${INFO} dig response: ${response}"
log_write "${finalmsg}" log_write "${finalmsg}"
fi fi