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
1 changed files with 1 additions and 1 deletions

View File

@ -437,7 +437,7 @@ os_check() {
fi
# 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 "${finalmsg}"
fi