diff options
author | mboelen <michael@cisofy.com> | 2015-11-22 22:43:06 +0300 |
---|---|---|
committer | mboelen <michael@cisofy.com> | 2015-11-22 22:43:06 +0300 |
commit | c79a1ea3a42e31f9c0be3a538f4aadeb7c2546e3 (patch) | |
tree | 9739aa85cbbc96f969067636a46c798b49970fb1 /include/data_upload | |
parent | c3054de0feeac83470e17c6b0d7f843ba34f602b (diff) |
Show error on screen if license server can not be contacted
Diffstat (limited to 'include/data_upload')
-rw-r--r-- | include/data_upload | 1 |
1 files changed, 1 insertions, 0 deletions
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." |