aboutsummaryrefslogtreecommitdiffstats
path: root/cron-sh
diff options
context:
space:
mode:
authorRaphael <rapsys@mageia.org>2018-09-02 21:16:16 +0200
committerPapoteur <papoteur@mageia.org>2018-09-02 21:17:16 +0200
commitbeef8683638cdd0d333c97e4f51c5749af195b30 (patch)
treedd500956690dcb01e943063b0d940a5a30ddee86 /cron-sh
parentf8612dca5454374238b3f283d95427e9af772fb1 (diff)
downloadmsec-beef8683638cdd0d333c97e4f51c5749af195b30.tar
msec-beef8683638cdd0d333c97e4f51c5749af195b30.tar.gz
msec-beef8683638cdd0d333c97e4f51c5749af195b30.tar.bz2
msec-beef8683638cdd0d333c97e4f51c5749af195b30.tar.xz
msec-beef8683638cdd0d333c97e4f51c5749af195b30.zip
Exclude temp dirs from reporting (directories with sticky bit +t)
Diffstat (limited to 'cron-sh')
-rwxr-xr-xcron-sh/scripts/01_files.sh2
1 files changed, 1 insertions, 1 deletions
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