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
# 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