summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2017-04-26 13:28:49 +0200
committerHolger Levsen <holger@layer-acht.org>2017-04-26 13:28:49 +0200
commit66b4baf0287a59e4d976d64ebf528a8ef0c10af1 (patch)
treeba02bb9ef13c7bf466149fb1d2ec48320fa6d565
parent35a6a808c1828dc8c263ae0058658dd0777c0e8a (diff)
downloadjenkins.debian.net-66b4baf0287a59e4d976d64ebf528a8ef0c10af1.tar.xz
reproducible Debian: this should work without sudo, thanks Mattia
Signed-off-by: Holger Levsen <holger@layer-acht.org>
-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 a88c2afe..90cb7d7d 100755
--- a/bin/reproducible_maintenance.sh
+++ b/bin/reproducible_maintenance.sh
@@ -215,7 +215,7 @@ if [ "$HOSTNAME" = "$MAINNODE" ] ; then
echo
echo "Old logfiles cleaned in /var/lib/jenkins/userContent/reproducible/debian/build_service/"
echo -n "$OLDSTUFF"
- find /var/lib/jenkins/userContent/reproducible/debian/build_service/ -maxdepth 2 -regex '.*/[0-9]+' -type d -mtime +2 -exec sudo rm -rf --one-file-system {} \; || true
+ find /var/lib/jenkins/userContent/reproducible/debian/build_service/ -maxdepth 2 -regex '.*/[0-9]+' -type d -mtime +2 -exec rm -rf --one-file-system {} \; || true
echo
fi
fi