oops, if the error is dire enough, there's no info.
This commit is contained in:
parent
7d4cae4e5d
commit
ce625eb044
@ -1,5 +1,5 @@
|
||||
# ex:ts=8 sw=4:
|
||||
# $OpenBSD: Engine.pm,v 1.76 2013/04/30 10:22:36 espie Exp $
|
||||
# $OpenBSD: Engine.pm,v 1.77 2013/05/01 22:39:24 espie Exp $
|
||||
#
|
||||
# Copyright (c) 2010 Marc Espie <espie@openbsd.org>
|
||||
#
|
||||
@ -495,7 +495,7 @@ sub errors_string
|
||||
if (defined $e->{host} && !$e->{host}->is_localhost) {
|
||||
$s .= "(".$e->{host}->name.")";
|
||||
}
|
||||
if ($e->{info}->has_property('nojunk')) {
|
||||
if (defined $e->{info} && $e->{info}->has_property('nojunk')) {
|
||||
$s .= '!';
|
||||
}
|
||||
push(@l, $s);
|
||||
|
Loading…
Reference in New Issue
Block a user