mirror of https://github.com/CISOfy/lynis.git
Additional logging
This commit is contained in:
parent
2e87b8fde9
commit
8c1e1f29a3
|
@ -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 }}'`
|
||||
|
|
Loading…
Reference in New Issue