diff --git a/include/tests_homedirs b/include/tests_homedirs index c634cb44..37a04d4c 100644 --- a/include/tests_homedirs +++ b/include/tests_homedirs @@ -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