From 7157eb45f0fc9320a109d75e1d11405f19b4396c Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Sun, 8 Nov 2020 23:17:03 -0500 Subject: [PATCH] spelling: suggestions Signed-off-by: Josh Soref --- include/report | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/report b/include/report index 29f45643..3d0c7fdf 100644 --- a/include/report +++ b/include/report @@ -151,14 +151,14 @@ fi # Show suggestions from logfile - SSUGGESTIONS=$(${GREPBINARY} 'Suggestion: ' ${LOGFILE} | sed 's/ /!space!/g') + SUGGESTIONS=$(${GREPBINARY} 'Suggestion: ' ${LOGFILE} | sed 's/ /!space!/g') - if [ -z "${SSUGGESTIONS}" ]; then + if [ -z "${SUGGESTIONS}" ]; then echo " ${OK}No suggestions${NORMAL}"; echo "" else echo " ${YELLOW}Suggestions${NORMAL} (${TOTAL_SUGGESTIONS}):" echo " ${WHITE}----------------------------${NORMAL}" - for SUGGESTION in ${SSUGGESTIONS}; do + for SUGGESTION in ${SUGGESTIONS}; do SOLUTION="" SHOWSUGGESTION=$(echo ${SUGGESTION} | sed 's/!space!/ /g' | sed 's/^.* Suggestion: //' | sed 's/\[details:\(.*\)\] \[solution:\(.*\)\]//' | sed 's/test://') ADDLINK=$(echo ${SUGGESTION} | sed 's/!space!/ /g' | sed 's/^.* Suggestion: \(.*\)\[test://' | sed 's/\]\(.*\)]//' | ${AWKBINARY} -F: '{print $1}') @@ -183,7 +183,7 @@ done fi # Show tip on how to continue (next steps) - if [ ! "${SWARNINGS}" = "" -o ! "${SSUGGESTIONS}" = "" ]; then + if [ ! "${SWARNINGS}" = "" -o ! "${SUGGESTIONS}" = "" ]; then echo " ${CYAN}Follow-up${NORMAL}:" echo " ${WHITE}----------------------------${NORMAL}" echo " ${WHITE}-${NORMAL} Show details of a test (lynis show details TEST-ID)"