mirror of https://github.com/CISOfy/lynis.git
Added suggestion for file systems which are symlinked
This commit is contained in:
parent
4874c80186
commit
6ec3e5b39d
|
@ -38,7 +38,9 @@
|
|||
for I in ${SEPARATED_FILESYTEMS}; do
|
||||
LogText "Test: Checking if ${I} is mounted separately or mounted on / file system"
|
||||
if [ -L ${I} ]; then
|
||||
LogText "Result: ${I} is a symlink. Manual check required to determine exact file system"
|
||||
ShowSymlinkPath ${I}
|
||||
LogText "Result: ${I} is a symlink. Manual check required to determine exact file system options"
|
||||
ReportSuggestion ${TEST_NO} "Symlinked mount point needs to be checked manually" "${I}" ""
|
||||
Display --indent 4 --text "- Checking ${I} mount point" --result SYMLINK --color WHITE
|
||||
elif [ -d ${I} ]; then
|
||||
LogText "Result: directory ${I} exists"
|
||||
|
|
Loading…
Reference in New Issue