mirror of
https://github.com/CISOfy/lynis.git
synced 2025-07-27 15:54:09 +02:00
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"`
|
FIND=`egrep "^$1(\[\])?=" ${REPORTFILE} | egrep "$2"`
|
||||||
if [ ! "${FIND}" = "" ]; then
|
if [ ! "${FIND}" = "" ]; then
|
||||||
ITEM_FOUND=1
|
ITEM_FOUND=1
|
||||||
logtext "Result: found string"
|
logtext "Result: found search string (result: $FIND)"
|
||||||
else
|
else
|
||||||
logtext "Result: search string NOT found"
|
logtext "Result: search string NOT found"
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user