aboutsummaryrefslogtreecommitdiff
path: root/etc/periodic/weekly
diff options
context:
space:
mode:
authorJoerg Wunsch <joerg@FreeBSD.org>1999-03-21 12:34:06 +0000
committerJoerg Wunsch <joerg@FreeBSD.org>1999-03-21 12:34:06 +0000
commit0e20a72001ce7f1d5c767fc1cc4876474802649f (patch)
tree1eb652a18abeca1da9c73c38ae1654107e699f13 /etc/periodic/weekly
parent2fcf3276d9a7bdf72248202e3d98d09b76561a00 (diff)
downloadsrc-0e20a72001ce7f1d5c767fc1cc4876474802649f.tar.gz
src-0e20a72001ce7f1d5c767fc1cc4876474802649f.zip
Finally remove the ancient `-exec rm -f {} ;' cruft that used to be
used to cleanup old files, and replace it by -delete which has been present in our find(1) for ages now.
Notes
Notes: svn path=/head/; revision=44926
Diffstat (limited to 'etc/periodic/weekly')
-rwxr-xr-xetc/periodic/weekly/120.clean-kvmdb4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/periodic/weekly/120.clean-kvmdb b/etc/periodic/weekly/120.clean-kvmdb
index 69eed4a84ef8..abf00cd8f016 100755
--- a/etc/periodic/weekly/120.clean-kvmdb
+++ b/etc/periodic/weekly/120.clean-kvmdb
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $Id: 120.clean-kvmdb,v 1.1.1.1 1997/08/16 17:04:02 pst Exp $
+# $Id: 120.clean-kvmdb,v 1.2 1998/01/01 09:04:47 bde Exp $
#
if [ -d /var/db ] ; then
@@ -11,5 +11,5 @@ if [ -d /var/db ] ; then
kernel=kvm_`basename ${kernel}`.db
find /var/db -name "kvm_*.db" -a ! -name ${kernel} -a \
- -atime +7 -exec rm -f -- {} \;
+ -atime +7 -delete
fi