From 641bd7bac65c79c1c790b9dcf646215b42126cb0 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Tue, 20 Jun 2017 19:02:19 +0200 Subject: reproducible Debian: ignore errors harder Signed-off-by: Holger Levsen --- bin/reproducible_maintenance.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/reproducible_maintenance.sh b/bin/reproducible_maintenance.sh index c5beb35a..4543441d 100755 --- a/bin/reproducible_maintenance.sh +++ b/bin/reproducible_maintenance.sh @@ -81,7 +81,7 @@ if [ -d /srv/workspace/pbuilder/ ] ; then echo echo "Old pbuilder build directories found in /srv/workspace/pbuilder/" echo -n "$OLDSTUFF" - find /srv/workspace/pbuilder/ -maxdepth 2 -regex '.*/[0-9]+' -type d -mtime +2 -exec sudo rm -rf --one-file-system {} \; || true + ( find /srv/workspace/pbuilder/ -maxdepth 2 -regex '.*/[0-9]+' -type d -mtime +2 -exec sudo rm -rf --one-file-system {} \; ) || true echo DIRTY=true fi -- cgit v1.2.3-70-g09d2