stub_out broken entries instead of deleting their info.
May help out with some warnings sebastia@ is seeing.
This commit is contained in:
parent
4b4ca54be2
commit
33d8c81512
@ -1,5 +1,5 @@
|
||||
# ex:ts=8 sw=4:
|
||||
# $OpenBSD: Engine.pm,v 1.113 2015/06/17 07:31:25 espie Exp $
|
||||
# $OpenBSD: Engine.pm,v 1.114 2015/08/16 08:36:53 espie Exp $
|
||||
#
|
||||
# Copyright (c) 2010-2013 Marc Espie <espie@openbsd.org>
|
||||
#
|
||||
@ -489,6 +489,7 @@ sub add_fatal
|
||||
print $fh "error=$error\n" if $fh;
|
||||
}
|
||||
$self->{logger}->log_error($v, @messages);
|
||||
$self->stub_out($v);
|
||||
}
|
||||
|
||||
sub rebuild_info
|
||||
|
@ -1,5 +1,5 @@
|
||||
# ex:ts=8 sw=4:
|
||||
# $OpenBSD: Grabber.pm,v 1.30 2015/05/10 08:14:14 espie Exp $
|
||||
# $OpenBSD: Grabber.pm,v 1.31 2015/08/16 08:36:53 espie Exp $
|
||||
#
|
||||
# Copyright (c) 2010-2013 Marc Espie <espie@openbsd.org>
|
||||
#
|
||||
@ -64,7 +64,6 @@ sub finish
|
||||
my ($self, $h) = @_;
|
||||
for my $v (values %$h) {
|
||||
if ($v->{broken}) {
|
||||
delete $v->{info};
|
||||
$self->{engine}->add_fatal($v, $v->{broken});
|
||||
delete $v->{broken};
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user