mirror of https://github.com/CISOfy/lynis.git
Report hardening index, even when report is not shown
This commit is contained in:
parent
f0026427bb
commit
f34e59663f
|
@ -87,7 +87,6 @@
|
|||
HPGRAPH="[${HPCOLOR}${HPBLOCKS}${NORMAL}${HPEMPTY}]"
|
||||
logtext "Hardening index : [${HPINDEX}] [${HPBLOCKS}${HPEMPTY}]"
|
||||
logtext "Hardening strength: ${HIDESCRIPTION}"
|
||||
report "hardening_index=${HPINDEX}"
|
||||
|
||||
#
|
||||
#################################################################################
|
||||
|
@ -239,6 +238,10 @@
|
|||
|
||||
fi
|
||||
|
||||
# Report data, even if it is not displayed on screen
|
||||
report "hardening_index=${HPINDEX}"
|
||||
|
||||
|
||||
if [ ${QUIET} -eq 0 ]; then
|
||||
|
||||
echo " ${PROGRAM_name} ${PROGRAM_version}"
|
||||
|
|
Loading…
Reference in New Issue