mirror of
https://github.com/CISOfy/lynis.git
synced 2025-04-08 17:15:25 +02:00
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…
x
Reference in New Issue
Block a user