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:
authorAlexander Lobodzinski <alobodzinski@users.noreply.github.com>2015-09-11 15:54:38 +0300
committerAlexander Lobodzinski <alobodzinski@users.noreply.github.com>2015-09-11 15:54:38 +0300
commitd2c0e7491edbee618d92b519d9907abc90c22058 (patch)
tree731d7b9ca6b1ce55d6041ada7a4516803c37849f /include/report
parent7d0759297ee60245cd5e6126a3a47a889634148c (diff)
In quiet mode, hardening index was not written to log and report files
Diffstat (limited to 'include/report')
-rw-r--r--include/report23
1 files changed, 12 insertions, 11 deletions
diff --git a/include/report b/include/report
index 91856958..fb57bd00 100644
--- a/include/report
+++ b/include/report
@@ -19,17 +19,6 @@
#################################################################################
#
-
- # Only show overview if not running in quiet mode
- if [ ${QUIET} -eq 0 ]; then
- echo ""; echo "================================================================================"
- echo ""; echo " -[ ${WHITE}${PROGRAM_name} ${PROGRAM_version} Results${NORMAL} ]-"
- echo "";
-
-
- if [ ${SHOW_REPORT} -eq 1 ]; then
-
- logtextbreak
#
#################################################################################
#
@@ -88,6 +77,18 @@
logtext "Hardening index : [${HPINDEX}] [${HPBLOCKS}${HPEMPTY}]"
logtext "Hardening strength: ${HIDESCRIPTION}"
+
+ # Only show overview if not running in quiet mode
+ if [ ${QUIET} -eq 0 ]; then
+ echo ""; echo "================================================================================"
+ echo ""; echo " -[ ${WHITE}${PROGRAM_name} ${PROGRAM_version} Results${NORMAL} ]-"
+ echo "";
+
+
+ if [ ${SHOW_REPORT} -eq 1 ]; then
+
+ logtextbreak
+
#
#################################################################################
#