mirror of https://github.com/CISOfy/lynis.git
[FILE-6330] corrected description
This commit is contained in:
parent
b285623ac2
commit
05ea9f873d
|
@ -212,10 +212,11 @@
|
|||
#################################################################################
|
||||
#
|
||||
# Test : FILE-6330
|
||||
# Description : Query all ZFS mounts from /etc/fstab
|
||||
# Description : Query ZFS mounts
|
||||
# Note : mount -p does not work under Linux
|
||||
Register --test-no FILE-6330 --os FreeBSD --weight L --network NO --category security --description "Checking ZFS file systems"
|
||||
if [ ${SKIPTEST} -eq 0 ]; then
|
||||
LogText "Test: Query /etc/fstab for available ZFS mount points"
|
||||
LogText "Test: Discover for available ZFS mount points"
|
||||
FIND=$(${MOUNTBINARY} -p | ${AWKBINARY} '{ if ($3 == "zfs") { print $1":"$2":"$3":"$4":" }}')
|
||||
if [ -z "${FIND}" ]; then
|
||||
Display --indent 2 --text "- Querying ZFS mount points (mount -p)" --result "${STATUS_NONE}" --color WHITE
|
||||
|
|
Loading…
Reference in New Issue