Enhanced logging

This commit is contained in:
Michael Boelen 2019-04-15 19:20:51 +02:00
parent 2855e8503e
commit 1d829294d3
No known key found for this signature in database
GPG Key ID: 26141F77A09D7F04

3
lynis
View File

@ -613,6 +613,9 @@ ${NORMAL}
if [ ${EOL} -eq 1 ]; then
echo " End-of-life: ${WARNING}YES${NORMAL}"
ReportWarning "GEN-0010" "This version ${OS_VERSION} is marked end-of-life as of ${EOL_DATE}"
elif [ ${EOL} -eq 255 ]; then
# TODO - mark as item where community can provide help
LogText "Note: the end-of-life of '${OS_FULLNAME}' could not be checked. Entry missing in software-eol.db?"
fi
if [ ! -z "${OS_MODE}" ]; then echo " Operating system mode: ${OS_MODE}"; fi