summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_maintenance.sh
diff options
context:
space:
mode:
authorMattia Rizzolo <mattia@mapreri.org>2015-07-28 11:19:20 +0000
committerHolger Levsen <holger@layer-acht.org>2015-07-28 13:34:04 +0200
commitca3a8b95192457ecc8ae5cf7f125a8a27efe3c59 (patch)
tree230f34e53cb0176ad97367675c0bdf00d5439415 /bin/reproducible_maintenance.sh
parent0f02ba6141a5251531ac677084f76479795e0f4a (diff)
downloadjenkins.debian.net-ca3a8b95192457ecc8ae5cf7f125a8a27efe3c59.tar.xz
reproducible: maintenance: be silent when succesfully deleting old schroot
Diffstat (limited to 'bin/reproducible_maintenance.sh')
-rwxr-xr-xbin/reproducible_maintenance.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/reproducible_maintenance.sh b/bin/reproducible_maintenance.sh
index f36e3e19..bc6ccb14 100755
--- a/bin/reproducible_maintenance.sh
+++ b/bin/reproducible_maintenance.sh
@@ -51,7 +51,7 @@ fi
OLDSTUFF=$(find /schroots/ -maxdepth 1 -type d -regextype posix-extended -regex "/schroots/reproducible-.*-[0-9]{1,5}" -mtime +2 -exec ls -lad {} \;)
if [ ! -z "$OLDSTUFF" ] ; then
echo
- echo "Warning: old schroots found in /schroots, which have been deleted:"
+ echo "Old schroots found in /schroots, which have been deleted:"
find /schroots/ -maxdepth 1 -type d -regextype posix-extended -regex "/schroots/reproducible-.*-[0-9]{1,5}" -mtime +2 -exec sudo rm -rf --one-file-system {} \;
echo "$OLDSTUFF"
OLDSTUFF=$(find /schroots/ -maxdepth 1 -type d -regextype posix-extended -regex "/schroots/reproducible-.*-[0-9]{1,5}" -mtime +2 -exec ls -lad {} \;)