[Qa-jenkins-scm] [jenkins.debian.net] 01/01: no lockfile is also fine
Holger Levsen
holger at moszumanska.debian.org
Tue Aug 4 13:34:22 UTC 2015
This is an automated email from the git hooks/post-receive script.
holger pushed a commit to branch master
in repository jenkins.debian.net.
commit c7a1e1bc6db82aa6fafda0b6a84986b2ebee5285
Author: Holger Levsen <holger at layer-acht.org>
Date: Tue Aug 4 15:33:16 2015 +0200
no lockfile is also fine
---
bin/reproducible_maintenance.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bin/reproducible_maintenance.sh b/bin/reproducible_maintenance.sh
index 655e2e5..8ccf445 100755
--- a/bin/reproducible_maintenance.sh
+++ b/bin/reproducible_maintenance.sh
@@ -222,7 +222,7 @@ fi
# remove lockfiles older than 2 days
-LOCKFILES=$(find /tmp/reproducible-lockfile-* -maxdepth 1 -type f -mtime +2 -exec ls -lad {} \; || true)
+LOCKFILES=$(find /tmp/reproducible-lockfile-* -maxdepth 1 -type f -mtime +2 -exec ls -lad {} \; 2>/dev/null|| true)
if [ ! -z "$LOCKFILES" ] ; then
echo
echo "Removed old lockfiles:"
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git
More information about the Qa-jenkins-scm
mailing list