Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/CISOfy/lynis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormboelen <michael@cisofy.com>2015-06-11 21:50:19 +0300
committermboelen <michael@cisofy.com>2015-06-11 21:50:19 +0300
commitf34e59663f2d1f8a46cc3818831e3a0859904d5b (patch)
treef3e31678c408523fb0e7cb6fdb36575135887cda
parentf0026427bbd884476cc68d2adc6d577ee1cbc79c (diff)
Report hardening index, even when report is not shown
-rw-r--r--include/report5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/report b/include/report
index 82b69c6b..b211f0e1 100644
--- a/include/report
+++ b/include/report
@@ -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}"