From 2d15e56a83d0f8607240839e0563e37997815052 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20B=C3=BCren?= Date: Tue, 12 Jun 2018 13:34:24 +0200 Subject: [PATCH] SelfTest false positive vermeiden MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Der #b4cc349b ist leider auch Schrott. Im Array hab ich nur failed mit 0 oder 1 als zuverlässige Status-Meldung --- SL/BackgroundJob/SelfTest.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SL/BackgroundJob/SelfTest.pm b/SL/BackgroundJob/SelfTest.pm index d4465721f..bb624673b 100644 --- a/SL/BackgroundJob/SelfTest.pm +++ b/SL/BackgroundJob/SelfTest.pm @@ -65,7 +65,7 @@ sub run { ); # if (!$self->aggreg->all_passed || $self->config->{send_email_on_success}) { # all_passed is not set or calculated (anymore). it is safe to check only for probs or errors - if ($self->aggreg->has_problems || $self->aggreg->has_errors || $self->config->{send_email_on_success}) { + if ($self->aggreg->failed || $self->config->{send_email_on_success}) { $self->_send_email; } -- 2.20.1