From 0d58ee77a05d15675bc011244c600293a6ec3cbc Mon Sep 17 00:00:00 2001 From: Michael Boelen Date: Mon, 2 Sep 2019 19:20:16 +0200 Subject: [CRYP-7930] replaced incorrect PATH column with alternative --- include/tests_crypto | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/tests_crypto') diff --git a/include/tests_crypto b/include/tests_crypto index cf6e0e48..b5f3c7be 100644 --- a/include/tests_crypto +++ b/include/tests_crypto @@ -139,7 +139,7 @@ # cryptsetup only works as root 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 --list --paths -o NAME); do if ${CRYPTSETUPBINARY} isLuks ${BLOCK_DEV}; then LogText "Result: Found LUKS encrypted block device: ${BLOCK_DEV}" Report "encryption[]=luks,block_device,${BLOCK_DEV}" -- cgit v1.2.3