mirror of
https://github.com/CISOfy/lynis.git
synced 2025-07-29 00:34:14 +02:00
Updated forensics variable
This commit is contained in:
parent
65f1a5e811
commit
605e515c31
@ -138,7 +138,7 @@
|
|||||||
FOUND=0
|
FOUND=0
|
||||||
|
|
||||||
# cryptsetup only works as root
|
# cryptsetup only works as root
|
||||||
if [ -n "${LSBLKBINARY}" -a -n "${CRYPTSETUPBINARY}" -a ${FORENSICS} -eq 0 ]; then
|
if [ -n "${LSBLKBINARY}" -a -n "${CRYPTSETUPBINARY}" -a ${FORENSICS_MODE} -eq 0 ]; then
|
||||||
for BLOCK_DEV in $(${LSBLKBINARY} --noheadings -o PATH); do
|
for BLOCK_DEV in $(${LSBLKBINARY} --noheadings -o PATH); do
|
||||||
if ${CRYPTSETUPBINARY} isLuks ${BLOCK_DEV}; then
|
if ${CRYPTSETUPBINARY} isLuks ${BLOCK_DEV}; then
|
||||||
LogText "Result: Found LUKS encrypted block device: ${BLOCK_DEV}"
|
LogText "Result: Found LUKS encrypted block device: ${BLOCK_DEV}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user