Show different status on screen when expired SSL certificates were found

This commit is contained in:
mboelen 2015-09-01 15:49:50 +02:00
parent d4b1812962
commit 8cefc0f7b9
1 changed files with 2 additions and 2 deletions

View File

@ -64,9 +64,9 @@
done
if [ ${FOUNDPROBLEM} -eq 0 ]; then
Display --indent 2 --text "- Checking SSL certificate expiration" --result OK --color GREEN
Display --indent 2 --text "- Checking for expired SSL certificates" --result NONE --color GREEN
else
Display --indent 2 --text "- Checking SSL certificate expiration" --result WARNING --color RED
Display --indent 2 --text "- Checking for expired SSL certificates" --result FOUND --color RED
ReportSuggestion ${TEST_NO} "Check available certificates for expiration"
fi
fi