X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/b4cc349b7fe50744832261c8b415bd146bde5520..ed9b1bfb7:/SL/BackgroundJob/SelfTest.pm 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; }