diff options
author | Eugeni Dodonov <eugeni@mandriva.org> | 2010-02-22 17:34:35 +0000 |
---|---|---|
committer | Eugeni Dodonov <eugeni@mandriva.org> | 2010-02-22 17:34:35 +0000 |
commit | 881c72bdb4269bbd5c2ba4363f7a56b20599b342 (patch) | |
tree | 6931fae0d613458822759acbe2f0e883c6faa650 /cron-sh/scripts | |
parent | 2dd2583959ab5540c3dc592f317c8280f470ba3e (diff) | |
download | msec-881c72bdb4269bbd5c2ba4363f7a56b20599b342.tar msec-881c72bdb4269bbd5c2ba4363f7a56b20599b342.tar.gz msec-881c72bdb4269bbd5c2ba4363f7a56b20599b342.tar.bz2 msec-881c72bdb4269bbd5c2ba4363f7a56b20599b342.tar.xz msec-881c72bdb4269bbd5c2ba4363f7a56b20599b342.zip |
Add support for EXCLUDE_REGEXP
Diffstat (limited to 'cron-sh/scripts')
-rwxr-xr-x | cron-sh/scripts/01_files.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cron-sh/scripts/01_files.sh b/cron-sh/scripts/01_files.sh index 64d82e7..247465f 100755 --- a/cron-sh/scripts/01_files.sh +++ b/cron-sh/scripts/01_files.sh @@ -55,6 +55,10 @@ fi # only running this check when really required if check_is_enabled "${CHECK_SUID_MD5}" || check_is_enabled "${CHECK_SUID_ROOT}" || check_is_enabled "${CHECK_SGID}" || check_is_enabled "${CHECK_WRITABLE}" || check_is_enabled "${CHECK_UNOWNED}" ; then # Hard disk related file check; the less priority the better... + if [[ -n ${EXCLUDE_REGEXP} ]]; then + # passing exclude_regexp value to msec_find + export EXCLUDE_REGEXP + fi nice --adjustment=+19 /usr/bin/msec_find ${DIR} fi |