diff options
author | mboelen <michael@cisofy.com> | 2015-10-14 11:28:27 +0300 |
---|---|---|
committer | mboelen <michael@cisofy.com> | 2015-10-14 11:28:27 +0300 |
commit | 6bea4e0334720f419d2eb0cd9c6b1c8fd55195d9 (patch) | |
tree | 3e30272f62cf956e1d7bd53c260c707a6c85a4d8 /include/tests_homedirs | |
parent | b1437a05ef644b71c85eecd92ce8b9cd1ea012ca (diff) |
Use POSIX compatible flag, so it also works on BusyBox
Diffstat (limited to 'include/tests_homedirs')
-rw-r--r-- | include/tests_homedirs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/tests_homedirs b/include/tests_homedirs index cfb6f089..595c2fff 100644 --- a/include/tests_homedirs +++ b/include/tests_homedirs @@ -54,9 +54,9 @@ if [ ! "${HOMEDIRS}" = "" ]; then if [ "${OS}" = "Solaris" ]; then # Solaris doesn't support -maxdepth - FIND=`find ${HOMEDIRS} -name ".*history" -not -type f -print` + FIND=`find ${HOMEDIRS} -name ".*history" ! -type f -print` else - FIND=`find ${HOMEDIRS} -maxdepth 1 -name ".*history" -not -type f -print` + FIND=`find ${HOMEDIRS} -maxdepth 1 -name ".*history" ! -type f -print` fi if [ "${FIND}" = "" ]; then Display --indent 2 --text "- Checking shell history files" --result OK --color GREEN |