From c79a1ea3a42e31f9c0be3a538f4aadeb7c2546e3 Mon Sep 17 00:00:00 2001 From: mboelen Date: Sun, 22 Nov 2015 20:43:06 +0100 Subject: [PATCH] Show error on screen if license server can not be contacted --- include/data_upload | 1 + 1 file changed, 1 insertion(+) diff --git a/include/data_upload b/include/data_upload index e33b79f5..79f11598 100644 --- a/include/data_upload +++ b/include/data_upload @@ -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."