diff options
author | Holger Levsen <holger@layer-acht.org> | 2015-02-16 15:53:04 +0100 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-02-16 15:53:04 +0100 |
commit | 5f4810882130d9061cf94b8766b484c35569724a (patch) | |
tree | 66601f7e12c7cf22dd972c446697fae1a915babc | |
parent | 0876c459b44d0bbb3e954e210d0d035f7c536421 (diff) | |
download | jenkins.debian.net-5f4810882130d9061cf94b8766b484c35569724a.tar.xz |
improve last commit
-rwxr-xr-x | bin/reproducible_maintainance.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/reproducible_maintainance.sh b/bin/reproducible_maintainance.sh index 4bd07e19..40948db4 100755 --- a/bin/reproducible_maintainance.sh +++ b/bin/reproducible_maintainance.sh @@ -48,10 +48,10 @@ if [ ! -z "$OLDSTUFF" ] ; then fi # find old schroots -OLDSTUFF=$(find /schroots/ -type d -name "reproducible*" -mtime +2 -exec ls -lad {} \;) +OLDSTUFF=$(find /schroots/ -maxdepth 1 -type d -name "reproducible*" -mtime +2 -exec ls -lad {} \;) if [ ! -z "$OLDSTUFF" ] ; then echo - echo "Warning: old temp directories found in $REP_RESULTS" + echo "Warning: old schroots found in $REP_RESULTS" echo DIRTY=true fi |