From 8c1e1f29a3f2b926f191983eec1aa716cae26aec Mon Sep 17 00:00:00 2001 From: mboelen Date: Wed, 19 Aug 2015 16:02:50 +0200 Subject: Additional logging --- include/data_upload | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/data_upload') diff --git a/include/data_upload b/include/data_upload index 577a3dd8..68b07093 100644 --- a/include/data_upload +++ b/include/data_upload @@ -97,9 +97,12 @@ output "Settings file: ${SETTINGS_FILE}" 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}" + logtext "Result: found self-signed certificate, however not related -k upload option" else output "${RED}Error: ${NORMAL}cURL exited with code ${EXITCODE}" + logtext "Result: cURL exited with code ${EXITCODE}" fi + logtext "Result: quitting, can't check license" ExitFatal fi UPLOAD_CODE=`echo ${UPLOAD} | head -n 1 | awk '{ if ($1=="Response") { print $2 }}'` -- cgit v1.2.3