diff options
author | Kris Kennaway <kris@FreeBSD.org> | 2007-02-18 08:53:21 +0000 |
---|---|---|
committer | Kris Kennaway <kris@FreeBSD.org> | 2007-02-18 08:53:21 +0000 |
commit | 56b6a0b170c073b2c787f9661dcefabbd5334d53 (patch) | |
tree | c2c5f674a34ffb0c1086894a9dcf5d4fc2c5d8fa /Tools | |
parent | 30a0a9837691162f6dd2a14a608687dc8f64295c (diff) | |
download | ports-56b6a0b170c073b2c787f9661dcefabbd5334d53.tar.gz ports-56b6a0b170c073b2c787f9661dcefabbd5334d53.zip |
Notes
Diffstat (limited to 'Tools')
-rwxr-xr-x | Tools/portbuild/scripts/cleanup-chroots | 6 |
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 |