diff options
author | Holger Levsen <holger@layer-acht.org> | 2017-04-26 13:28:49 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2017-04-26 13:28:49 +0200 |
commit | 66b4baf0287a59e4d976d64ebf528a8ef0c10af1 (patch) | |
tree | ba02bb9ef13c7bf466149fb1d2ec48320fa6d565 /bin/reproducible_maintenance.sh | |
parent | 35a6a808c1828dc8c263ae0058658dd0777c0e8a (diff) | |
download | jenkins.debian.net-66b4baf0287a59e4d976d64ebf528a8ef0c10af1.tar.xz |
reproducible Debian: this should work without sudo, thanks Mattia
Signed-off-by: Holger Levsen <holger@layer-acht.org>
Diffstat (limited to 'bin/reproducible_maintenance.sh')
-rwxr-xr-x | bin/reproducible_maintenance.sh | 2 |
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 |