Show error on screen if license server can not be contacted

This commit is contained in:
mboelen 2015-11-22 20:43:06 +01:00
parent c3054de0fe
commit c79a1ea3a4
1 changed files with 1 additions and 0 deletions

View File

@ -97,6 +97,7 @@ output "Settings file: ${SETTINGS_FILE}"
logtext "Result: could not contact license server."
logtext "Details: used URL ${LICENSE_SERVER_URL}"
logtext "Suggestion: check if the upload host is correctly configured."
echo "${RED}Error${NORMAL}: license server not available. See ${LOGFILE} for details."
elif [ ${EXITCODE} -eq 60 ]; then
echo "${RED}Self-signed certificate used on Lynis Enterprise node${NORMAL}"
echo "If you want to accept a self-signed certificate, use the -k option in the profile."