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-09-10 10:18:03 +0300
committermboelen <michael@cisofy.com>2015-09-10 10:18:03 +0300
commit7feb7e9a6cf11feb00c78369697f8bc066a71d52 (patch)
treeafa2e58d4bc789916940204b0aacf5240307ff2f /include/report
parente7adeb8a6bfef3f276ab90e0c93ddbe38b82d687 (diff)
Show amount of suggestions and warnings
Diffstat (limited to 'include/report')
-rw-r--r--include/report4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/report b/include/report
index 00d10144..ff24cc44 100644
--- a/include/report
+++ b/include/report
@@ -106,7 +106,7 @@
if [ "${SWARNINGS}" = "" ]; then
echo " ${OK}No warnings${NORMAL}"; echo ""
else
- echo " ${WARNING}Warnings${NORMAL}:"
+ echo " ${WARNING}Warnings${NORMAL} (${TOTAL_WARNINGS}):"
echo " ${WHITE}----------------------------${NORMAL}"
for WARNING in ${SWARNINGS}; do
SHOWWARNING=`echo ${WARNING} | sed 's/!space!/ /g' | sed 's/^\[\(.*\)\] Warning: //'`
@@ -128,7 +128,7 @@
if [ "${SSUGGESTIONS}" = "" ]; then
echo " ${OK}No suggestions${NORMAL}"; echo ""
else
- echo " ${YELLOW}Suggestions${NORMAL}:"
+ echo " ${YELLOW}Suggestions${NORMAL} (${TOTAL_SUGGESTIONS}):"
echo " ${WHITE}----------------------------${NORMAL}"
for SUGGESTION in ${SSUGGESTIONS}; do
SHOWSUGGESTION=`echo ${SUGGESTION} | sed 's/!space!/ /g' | sed 's/^\[\(.*\)\] Suggestion: //'`