From beef8683638cdd0d333c97e4f51c5749af195b30 Mon Sep 17 00:00:00 2001 From: Raphael Date: Sun, 2 Sep 2018 21:16:16 +0200 Subject: Exclude temp dirs from reporting (directories with sticky bit +t) --- cron-sh/scripts/01_files.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cron-sh/scripts') diff --git a/cron-sh/scripts/01_files.sh b/cron-sh/scripts/01_files.sh index 6aa7add..c7bb8ad 100755 --- a/cron-sh/scripts/01_files.sh +++ b/cron-sh/scripts/01_files.sh @@ -77,7 +77,7 @@ fi if [[ -f ${WRITABLE_TODAY} ]]; then Filter ${WRITABLE_TODAY} CHECK_WRITABLE - sort < ${WRITABLE_TODAY} | egrep -v '^(/var)?/tmp$' > ${WRITABLE_TODAY}.tmp + sort < ${WRITABLE_TODAY} > ${WRITABLE_TODAY}.tmp mv -f ${WRITABLE_TODAY}.tmp ${WRITABLE_TODAY} fi -- cgit v1.2.1