mirror of https://github.com/CISOfy/lynis.git
[DBS-1882] added /usr/local/redis/etc path
This commit is contained in:
parent
f8697db25b
commit
bf1e99f3cd
|
@ -259,7 +259,7 @@
|
|||
if [ ${REDIS_RUNNING} -eq 1 ]; then PREQS_METS="YES"; else PREQS_MET="NO"; SKIPREASON="Redis not running"; fi
|
||||
Register --test-no DBS-1882 --weight L --network NO --preqs-met "${PREQS_MET}" --skip-reason "${SKIPREASON}" --category security --description "Redis configuration file"
|
||||
if [ ${SKIPTEST} -eq 0 ]; then
|
||||
PATHS="${ROOTDIR}etc/redis ${ROOTDIR}usr/local/etc/redis"
|
||||
PATHS="${ROOTDIR}etc/redis ${ROOTDIR}usr/local/etc/redis ${ROOTDIR}usr/local/redis/etc"
|
||||
ALLFILES=$(${LSBINARY} ${ROOTDIR}etc/redis.conf 2> /dev/null)
|
||||
FOUND=0
|
||||
for DIR in ${PATHS}; do
|
||||
|
|
Loading…
Reference in New Issue