From 1b93bf40e79b2b9b54d931c42a52b7fc07a38d73 Mon Sep 17 00:00:00 2001 From: espie Date: Wed, 14 Jul 2010 14:18:59 +0000 Subject: [PATCH] if we didn't fill info, don't even retry --- infrastructure/build/DPB/Locks.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/infrastructure/build/DPB/Locks.pm b/infrastructure/build/DPB/Locks.pm index 9f9eea2eeff..90a9e5e5ff8 100644 --- a/infrastructure/build/DPB/Locks.pm +++ b/infrastructure/build/DPB/Locks.pm @@ -1,5 +1,5 @@ # ex:ts=8 sw=4: -# $OpenBSD: Locks.pm,v 1.5 2010/05/31 14:49:54 espie Exp $ +# $OpenBSD: Locks.pm,v 1.6 2010/07/14 14:18:59 espie Exp $ # # Copyright (c) 2010 Marc Espie # @@ -110,7 +110,7 @@ sub recheck_errors my $e = $engine->{errors}; $engine->{errors} = []; while (my $v = shift @$e) { - if ($engine->{builder}->check($v)) { + if ($v->{info} && $engine->{builder}->check($v)) { $self->unlock($v); } if ($self->locked($v)) {