aboutsummaryrefslogtreecommitdiff
path: root/etc/periodic
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>1997-09-11 15:21:30 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>1997-09-11 15:21:30 +0000
commit57e9de771470348a44c24962ea79d54eda2fde5a (patch)
tree4d3f57cd169aaf7d161a7797174f387f8ea18894 /etc/periodic
parentc58afa5621d78c7c082c97781882086367e0ba5d (diff)
downloadsrc-57e9de771470348a44c24962ea79d54eda2fde5a.tar.gz
src-57e9de771470348a44c24962ea79d54eda2fde5a.zip
Fix typo in my prev. commit
Notes
Notes: svn path=/head/; revision=29305
Diffstat (limited to 'etc/periodic')
-rwxr-xr-xetc/periodic/daily/110.clean-tmps4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/periodic/daily/110.clean-tmps b/etc/periodic/daily/110.clean-tmps
index 8fa1935104a2..86abc4cc82a2 100755
--- a/etc/periodic/daily/110.clean-tmps
+++ b/etc/periodic/daily/110.clean-tmps
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $Id: 110.clean-tmps,v 1.1.1.1 1997/08/16 17:04:00 pst Exp $
+# $Id: 110.clean-tmps,v 1.2 1997/09/01 11:07:55 ache Exp $
#
# This is a security hole, never use 'find' on a public directory
# with -exec rm -f as root. This can be exploited to delete any file
@@ -26,7 +26,7 @@ fi
if [ -d /var/tmp ]; then
cd /var/tmp && {
find . ! -name . -atime +7 -ctime +3 -exec rm -f -- {} \;
- find -d . ! -name . ! name vi.recover -type d -mtime +1 -exec rmdir -- {} \; \
+ find -d . ! -name . ! -name vi.recover -type d -mtime +1 -exec rmdir -- {} \; \
>/dev/null 2>&1
}
fi