diff options
author | mboelen <michael@cisofy.com> | 2015-11-22 21:25:32 +0300 |
---|---|---|
committer | mboelen <michael@cisofy.com> | 2015-11-22 21:25:32 +0300 |
commit | 391f67e7c24552c484fda79bc8a0ac69be906e5c (patch) | |
tree | 7aeb929b2bef9242b83eab40e08b8db4b795ca78 /include/data_upload | |
parent | ce0955d05c06f098447bbc158eb2262c6c630e56 (diff) |
Show warning if any error happened during license check
Diffstat (limited to 'include/data_upload')
-rw-r--r-- | include/data_upload | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/data_upload b/include/data_upload index 4896052a..844e04d5 100644 --- a/include/data_upload +++ b/include/data_upload @@ -99,7 +99,7 @@ output "Settings file: ${SETTINGS_FILE}" echo "Example: ${WHITE}config:upload_options:-k:${NORMAL}" logtext "Result: found self-signed certificate, however cURL -k option not used." else - output "${RED}Error: ${NORMAL}cURL exited with code ${EXITCODE}" + echo "${RED}Upload Error: ${NORMAL}cURL exited with code ${EXITCODE}" logtext "Result: cURL exited with code ${EXITCODE}" fi logtext "Result: quitting, can't check license" @@ -114,9 +114,9 @@ output "Settings file: ${SETTINGS_FILE}" echo "" echo "Possible causes and steps you can take:" echo "- Connection with license server could not be established (try address in your web browser)" - echo "- License is expired (listed in Configuration screen)" - echo "- No credits left (listed in Configuration screen)" - echo "- Collector version of Lynis version outdated (upgrade to latest Lynis or Lynis Collector)" + echo "- Incorrect server has been configured in profile" + echo "- License is expired (listed in Configuration screen) or No credits left (listed in Configuration screen)" + echo "- Collector version of Lynis version outdated (upgrade to latest version of Lynis and/or Lynis Collector)" echo "" echo "If you need support in solving this, please contact support@cisofy.com and include this screen output." echo "" @@ -141,7 +141,7 @@ output "Settings file: ${SETTINGS_FILE}" echo "Check the last section of the log file for the exact command used, for further troubleshooting" echo "Debug:" echo ${UPLOAD} - echo "${RED}Warning${NORMAL}: cURL could not upload data. See ${LOGFILE} for details." + echo "${RED}Upload Error${NORMAL}: cURL could not upload data. See ${LOGFILE} for details." # Quit ExitClean fi |