mirror of https://github.com/CISOfy/lynis.git
Show amount of suggestions and warnings
This commit is contained in:
parent
e7adeb8a6b
commit
7feb7e9a6c
|
@ -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: //'`
|
||||
|
|
Loading…
Reference in New Issue