mirror of https://github.com/CISOfy/lynis.git
In quiet mode, hardening index was not written to log and report files
This commit is contained in:
parent
7d0759297e
commit
d2c0e7491e
|
@ -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
|
||||
|
||||
#
|
||||
#################################################################################
|
||||
#
|
||||
|
|
Loading…
Reference in New Issue