summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-02-26 18:50:13 +0100
committerHolger Levsen <holger@layer-acht.org>2015-02-26 18:50:13 +0100
commit3edc6337c00c4f6273c07cabc886733e93e8029a (patch)
tree0ae2f1b912eefeceba5acb56b9e45f0f372b5f2f
parent02a3fb27fb0ac00b6165104858d9e8ac21883dbc (diff)
downloadjenkins.debian.net-3edc6337c00c4f6273c07cabc886733e93e8029a.tar.xz
reproducible: use sudo to remove old schroots
-rwxr-xr-xbin/reproducible_maintainance.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/reproducible_maintainance.sh b/bin/reproducible_maintainance.sh
index b2aad7c0..7e08b5fd 100755
--- a/bin/reproducible_maintainance.sh
+++ b/bin/reproducible_maintainance.sh
@@ -52,7 +52,7 @@ OLDSTUFF=$(find /schroots/ -maxdepth 1 -type d -name "reproducible-*-*" -mtime +
if [ ! -z "$OLDSTUFF" ] ; then
echo
echo "Warning: old schroots found in /schroots, which have been deleted:"
- find /schroots/ -maxdepth 1 -type d -name "reproducible-*-*" -mtime +2 -exec rm -rf {} \;
+ find /schroots/ -maxdepth 1 -type d -name "reproducible-*-*" -mtime +2 -exec sudo rm -rf {} \;
echo "$OLDSTUFF"
echo
DIRTY=true