mirror of
https://github.com/CISOfy/lynis.git
synced 2026-03-11 08:55:28 +00:00
Update tests_databases
This commit is contained in:
parent
4f6eeb7537
commit
1d3de50579
1 changed files with 2 additions and 2 deletions
|
|
@ -302,8 +302,8 @@
|
|||
if [ ${QNAP_DEVICE} -eq 1 ]; then
|
||||
PATHS="${PATHS} ${ROOTDIR}share/CACHEDEV1_DATA/.qpkg/QKVM/usr/etc/redis.conf"
|
||||
fi
|
||||
if [ -d "/snap" ]; then
|
||||
for SNAP_PATH in $(${FINDBINARY} /snap -name 'redis.conf' -type f | ${SEDBINARY} 's/redis.conf$//g'); do
|
||||
if [ -d "${ROOTDIR}snap" ]; then
|
||||
for SNAP_PATH in $(${FINDBINARY} ${ROOTDIR}snap -name 'redis.conf' -type f | ${SEDBINARY} 's/redis.conf$//g'); do
|
||||
PATHS="${PATHS} ${SNAP_PATH}"
|
||||
done
|
||||
fi
|
||||
|
|
|
|||
Loading…
Reference in a new issue