mirror of
https://github.com/CISOfy/lynis.git
synced 2025-07-29 16:54:26 +02:00
Update tests_databases
This commit is contained in:
parent
4f6eeb7537
commit
1d3de50579
@ -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…
x
Reference in New Issue
Block a user