From c7a1e1bc6db82aa6fafda0b6a84986b2ebee5285 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Tue, 4 Aug 2015 15:33:16 +0200 Subject: no lockfile is also fine --- bin/reproducible_maintenance.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/reproducible_maintenance.sh') diff --git a/bin/reproducible_maintenance.sh b/bin/reproducible_maintenance.sh index 655e2e5f..8ccf4459 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:" -- cgit v1.2.3-54-g00ecf