mirror of https://github.com/CISOfy/lynis.git
Changed text for Redis test
This commit is contained in:
parent
f0a957642b
commit
bf7b8ab44e
|
@ -197,13 +197,13 @@
|
|||
if [ ! -z "${FILES}" ]; then
|
||||
for CONFFILE in ${FILES}; do
|
||||
if FileIsReadable ${CONFFILE}; then
|
||||
LogText "Action: checking if ${CONFFILE} this is a Sentinel configuration file"
|
||||
LogText "Action: checking if ${CONFFILE} is a Sentinel configuration file"
|
||||
# Exclude Sentinel configuration file
|
||||
FIND=$(grep "^sentinel " ${CONFFILE})
|
||||
if [ ! -z "${FIND}" ]; then
|
||||
LogText "Result: file is a Sentinel configuration file, skipping"
|
||||
LogText "Result: file is a Sentinel configuration file, skipping it"
|
||||
else
|
||||
LogText "Result: not a Sentinel configuration file. Now scanning if it is a Redis configuration file"
|
||||
LogText "Result: file is NOT a Sentinel configuration file. Now scanning if it is a Redis configuration file"
|
||||
FIND=$(grep "Redis" ${CONFFILE})
|
||||
if [ ! -z "${FIND}" ]; then
|
||||
REDIS_CONFIGURATION_FILES="${REDIS_CONFIGURATION_FILES} ${CONFFILE}"
|
||||
|
|
Loading…
Reference in New Issue