mirror of
https://github.com/CISOfy/lynis.git
synced 2025-07-27 07:44:14 +02:00
remove file from path
Signed-off-by: Thomas Sjögren <konstruktoid@users.noreply.github.com>
This commit is contained in:
parent
fc62b39f34
commit
4f6eeb7537
@ -303,7 +303,7 @@
|
||||
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); do
|
||||
for SNAP_PATH in $(${FINDBINARY} /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