mirror of https://github.com/CISOfy/lynis.git
Improved log output for CheckItem function
This commit is contained in:
parent
6dbeb9f6cb
commit
c257882a24
|
@ -98,7 +98,7 @@
|
|||
FIND=`egrep "^$1(\[\])?=" ${REPORTFILE} | egrep "$2"`
|
||||
if [ ! "${FIND}" = "" ]; then
|
||||
ITEM_FOUND=1
|
||||
logtext "Result: found string"
|
||||
logtext "Result: found search string (result: $FIND)"
|
||||
else
|
||||
logtext "Result: search string NOT found"
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue