From 7bd91675feae33fbc2131ac839798ead438ce2f9 Mon Sep 17 00:00:00 2001 From: mboelen Date: Wed, 19 Aug 2015 16:20:21 +0200 Subject: [PATCH] Improved debug logging --- include/data_upload | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/data_upload b/include/data_upload index bff4ee83..d7bf1401 100644 --- a/include/data_upload +++ b/include/data_upload @@ -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}"