mirror of https://github.com/CISOfy/lynis.git
Show error on screen if license server can not be contacted
This commit is contained in:
parent
c3054de0fe
commit
c79a1ea3a4
|
@ -97,6 +97,7 @@ output "Settings file: ${SETTINGS_FILE}"
|
||||||
logtext "Result: could not contact license server."
|
logtext "Result: could not contact license server."
|
||||||
logtext "Details: used URL ${LICENSE_SERVER_URL}"
|
logtext "Details: used URL ${LICENSE_SERVER_URL}"
|
||||||
logtext "Suggestion: check if the upload host is correctly configured."
|
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
|
elif [ ${EXITCODE} -eq 60 ]; then
|
||||||
echo "${RED}Self-signed certificate used on Lynis Enterprise node${NORMAL}"
|
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."
|
echo "If you want to accept a self-signed certificate, use the -k option in the profile."
|
||||||
|
|
Loading…
Reference in New Issue