aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2007-02-18 08:53:21 +0000
committerKris Kennaway <kris@FreeBSD.org>2007-02-18 08:53:21 +0000
commit56b6a0b170c073b2c787f9661dcefabbd5334d53 (patch)
treec2c5f674a34ffb0c1086894a9dcf5d4fc2c5d8fa
parent30a0a9837691162f6dd2a14a608687dc8f64295c (diff)
downloadports-56b6a0b170c073b2c787f9661dcefabbd5334d53.tar.gz
ports-56b6a0b170c073b2c787f9661dcefabbd5334d53.zip
Notes
-rwxr-xr-xTools/portbuild/scripts/cleanup-chroots6
1 files changed, 3 insertions, 3 deletions
diff --git a/Tools/portbuild/scripts/cleanup-chroots b/Tools/portbuild/scripts/cleanup-chroots
index e2b8e1ceefbb..48a9f893e5e4 100755
--- a/Tools/portbuild/scripts/cleanup-chroots
+++ b/Tools/portbuild/scripts/cleanup-chroots
@@ -52,11 +52,11 @@ fi
for i in ${old}; do
if [ ! -d ${i}/used ]; then
old2="${i} ${old2}"
- # Also remove "in use" chroots that were set up more than 48 hours ago
- elif [ ! -z "`find $i/used -prune -mmin +2880`" ]; then
+ # Also remove "in use" chroots that were set up more than 5 days ago
+ elif [ ! -z "`find $i/used -prune -mmin +7200`" ]; then
echo "cleanup-chroots: Found old files on `hostname`:"
ls -l ${i}/tmp ${i}/used
- echo "${i} allegedly in use but >48 hours old"
+ echo "${i} allegedly in use but >5 days old"
old2="${i} ${old2}"
fi
done