diff options
Diffstat (limited to 'cron-sh/security.sh')
-rwxr-xr-x | cron-sh/security.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cron-sh/security.sh b/cron-sh/security.sh index 6cc6b79..4cb0d12 100755 --- a/cron-sh/security.sh +++ b/cron-sh/security.sh @@ -108,7 +108,7 @@ if [[ -f ${SUID_GROUP_TODAY} ]]; then fi if [[ -f ${WRITEABLE_TODAY} ]]; then - sort < ${WRITEABLE_TODAY} > ${WRITEABLE_TODAY}.tmp + sort < ${WRITEABLE_TODAY} | egrep -v '^(/var)?/tmp$' > ${WRITEABLE_TODAY}.tmp mv -f ${WRITEABLE_TODAY}.tmp ${WRITEABLE_TODAY} fi |