Improved debug logging

This commit is contained in:
mboelen 2015-08-19 16:20:21 +02:00
parent 0c2a9daef9
commit 7bd91675fe
1 changed files with 2 additions and 2 deletions

View File

@ -96,8 +96,8 @@ output "Settings file: ${SETTINGS_FILE}"
if [ ${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."
echo "Example: ${WHITE}config:upload_options:-k:${NORMAL}"
logtext "Result: found self-signed certificate, however not related -k upload option"
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}"
logtext "Result: cURL exited with code ${EXITCODE}"