mirror of
https://github.com/CISOfy/lynis.git
synced 2026-03-11 08:55:28 +00:00
Merge 0f04275b3f into 52ed89ce35
This commit is contained in:
commit
2f3a9d4cd5
1 changed files with 1 additions and 1 deletions
|
|
@ -130,7 +130,7 @@ EOF
|
|||
# Solaris doesn't support -maxdepth
|
||||
FIND=$(${FINDBINARY} ${HOMEDIRS} -name ".*history" ! -type f -print)
|
||||
else
|
||||
FIND=$(${FINDBINARY} ${HOMEDIRS} -maxdepth 1 -name ".*history" ! -type f -print)
|
||||
FIND=$(${FINDBINARY} ${HOMEDIRS} -maxdepth 2 -name ".*history" ! -type f -print)
|
||||
fi
|
||||
if [ -z "${FIND}" ]; then
|
||||
Display --indent 2 --text "- Checking shell history files" --result "${STATUS_OK}" --color GREEN
|
||||
|
|
|
|||
Loading…
Reference in a new issue