diff --git a/include/tests_homedirs b/include/tests_homedirs index 77de47f4..ab3e14f0 100644 --- a/include/tests_homedirs +++ b/include/tests_homedirs @@ -131,7 +131,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