+ fix emc dmx

This commit is contained in:
garnier-quentin 2016-06-15 15:49:52 +02:00
parent 6901311e80
commit d2dbf18227
1 changed files with 1 additions and 0 deletions

View File

@ -185,6 +185,7 @@ sub send_email {
$send_email = 0 if ($status ne 'ok' && defined($prev_output) && $prev_output eq $subject);
# recovery email
$send_email = 1 if ($status eq 'ok' && defined($prev_status) && $prev_status ne 'ok');
$self->{statefile_cache}->write(data => $self->{new_datas});
}
my $smtp_to = '';