Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/CISOfy/lynis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Boelen <michael.boelen@cisofy.com>2019-09-02 20:20:16 +0300
committerMichael Boelen <michael.boelen@cisofy.com>2019-09-02 20:20:16 +0300
commit0d58ee77a05d15675bc011244c600293a6ec3cbc (patch)
tree59a26958bc0f3b57b314735b1d944e84dbe87722 /include/tests_crypto
parenta87c2b10f9ce15d51344c8531e143bbc52a106e7 (diff)
[CRYP-7930] replaced incorrect PATH column with alternative
Diffstat (limited to 'include/tests_crypto')
-rw-r--r--include/tests_crypto2
1 files changed, 1 insertions, 1 deletions
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}"