diff options
author | Holger Levsen <holger@layer-acht.org> | 2015-08-04 15:33:16 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-08-04 15:33:16 +0200 |
commit | c7a1e1bc6db82aa6fafda0b6a84986b2ebee5285 (patch) | |
tree | 38f6360e58a19cc090149bf25086e146d6246996 | |
parent | d7a76772d48bd523c8d2ba62f331f84423d9a2e9 (diff) | |
download | jenkins.debian.net-c7a1e1bc6db82aa6fafda0b6a84986b2ebee5285.tar.xz |
no lockfile is also fine
-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 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:" |