Use GREEN if dig was successful
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
This commit is contained in:
parent
a206980242
commit
1550f29f06
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue