diff options
author | mboelen <michael@cisofy.com> | 2015-08-19 17:02:50 +0300 |
---|---|---|
committer | mboelen <michael@cisofy.com> | 2015-08-19 17:02:50 +0300 |
commit | 8c1e1f29a3f2b926f191983eec1aa716cae26aec (patch) | |
tree | cb639e68078e777535673f8fc3272b1da3b3e274 /include/data_upload | |
parent | 2e87b8fde91f5a40ec2db1edd1ed22e5ce420cb7 (diff) |
Additional logging
Diffstat (limited to 'include/data_upload')
-rw-r--r-- | include/data_upload | 3 |
1 files changed, 3 insertions, 0 deletions
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 }}'` |