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:
authorMichael Boelen <michael.boelen@cisofy.com>2016-09-24 16:27:42 +0300
committerMichael Boelen <michael.boelen@cisofy.com>2016-09-24 16:27:42 +0300
commit263c0b558bb7a054c2a6aec82e997922980271d5 (patch)
tree57ac3402398e0139d96b985e30c2ba5c32e35e2a /include/report
parent1bc29ebb2eedf7a337f64317fca277474fbb334b (diff)
Changes to show more details for warnings
Diffstat (limited to 'include/report')
-rw-r--r--include/report2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/report b/include/report
index 2de28e9b..e38d29ad 100644
--- a/include/report
+++ b/include/report
@@ -119,7 +119,7 @@
SOLUTION=""
SHOWWARNING=$(echo ${WARNING} | sed 's/!space!/ /g' | sed 's/^.* Warning: //' | sed 's/\[details:\(.*\)\] \[solution:\(.*\)\]//' | sed 's/test://')
ADDLINK=$(echo ${WARNING} | sed 's/!space!/ /g' | sed 's/^.* Warning: \(.*\)\[test://' | sed 's/\]\(.*\)]//')
- DETAILS=$(echo ${SUGGESTION} | sed 's/!space!/ /g' | sed 's/^.* Warning: \(.*\)\[details://' | sed 's/\]\(.*\)]//')
+ DETAILS=$(echo ${WARNING} | sed 's/!space!/ /g' | sed 's/^.* Warning: \(.*\)\[details://' | sed 's/\]\(.*\)]//')
SUGGESTION_PIECES=$(echo ${WARNING} | sed 's/\[/ [/g')
for PIECE in ${SUGGESTION_PIECES}; do
if [ -z "${SOLUTION}" ]; then