Report hardening index, even when report is not shown

This commit is contained in:
mboelen 2015-06-11 20:50:19 +02:00
parent f0026427bb
commit f34e59663f
1 changed files with 4 additions and 1 deletions

View File

@ -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}"