diff options
author | Michael Boelen <michael.boelen@cisofy.com> | 2019-08-21 15:00:20 +0300 |
---|---|---|
committer | Michael Boelen <michael.boelen@cisofy.com> | 2019-08-21 15:00:20 +0300 |
commit | 605e515c318811923e663a32d32a62792c4b541b (patch) | |
tree | 018c56ece5ff64cfe7fe2de04686756779b98b65 /include/tests_crypto | |
parent | 65f1a5e811fa4b67ed5d591e48a88a3f9532c5b2 (diff) |
Updated forensics variable
Diffstat (limited to 'include/tests_crypto')
-rw-r--r-- | include/tests_crypto | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/tests_crypto b/include/tests_crypto index b3524599..c79de525 100644 --- a/include/tests_crypto +++ b/include/tests_crypto @@ -138,7 +138,7 @@ FOUND=0 # 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 if ${CRYPTSETUPBINARY} isLuks ${BLOCK_DEV}; then LogText "Result: Found LUKS encrypted block device: ${BLOCK_DEV}" |