X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/08e42c5d48a0c2b27b6f12e75548c8f266e9b0c8..2d15e56a83d0f8607240839e0563e37997815052:/SL/BackgroundJob/SelfTest.pm?ds=inline 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; }