diff options
author | mboelen <michael@cisofy.com> | 2015-08-19 17:19:14 +0300 |
---|---|---|
committer | mboelen <michael@cisofy.com> | 2015-08-19 17:19:14 +0300 |
commit | 0c2a9daef9d4e9bc83faffe9e0b27fe5b4f1da36 (patch) | |
tree | f2f79ee04ef0991bd433298387603e1ac074e79b /include/data_upload | |
parent | 8c1e1f29a3f2b926f191983eec1aa716cae26aec (diff) |
Show help on screen
Diffstat (limited to 'include/data_upload')
-rw-r--r-- | include/data_upload | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/include/data_upload b/include/data_upload index 68b07093..bff4ee83 100644 --- a/include/data_upload +++ b/include/data_upload @@ -94,9 +94,9 @@ output "Settings file: ${SETTINGS_FILE}" EXITCODE=$? if [ ${EXITCODE} -gt 0 ]; then if [ ${EXITCODE} -eq 60 ]; then - output "${RED}Self-signed certificate used on Lynis Enterprise node${NORMAL}" - output "If you want to accept a self-signed certificate, use the -k option in the profile." - output "Example: ${WHITE}config:upload_options:-k:${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 "Example: ${WHITE}config:upload_options:-k:${NORMAL}" logtext "Result: found self-signed certificate, however not related -k upload option" else output "${RED}Error: ${NORMAL}cURL exited with code ${EXITCODE}" @@ -138,11 +138,11 @@ output "Settings file: ${SETTINGS_FILE}" if [ ${EXITCODE} -gt 0 ]; then #UPLOAD_CODE=`echo ${UPLOAD} | head -n 1 | awk '{ print $2 }'` #output "Output code from upload: ${UPLOAD_CODE}" - output "${RED}Error: ${NORMAL}Error occurred, cURL ended during the upload of the report data." - output "Related exit code: ${EXITCODE}" - output "Check the last section of the log file for the exact command used, for further troubleshooting" - output "Debug:" - output ${UPLOAD} + echo "${RED}Error: ${NORMAL}Error occurred, cURL ended during the upload of the report data." + echo "Related exit code: ${EXITCODE}" + echo "Check the last section of the log file for the exact command used, for further troubleshooting" + echo "Debug:" + echo ${UPLOAD} # Quit ExitClean fi |