hydra-eval-jobset: Respect email_notification

This commit is contained in:
Eelco Dolstra 2018-08-01 16:56:53 +02:00
parent a71e6301d2
commit 1898e31ed8
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE

View file

@ -527,6 +527,7 @@ sub sendJobsetErrorNotification() {
chomp $errorMsg;
return unless $config->{email_notification} // 0;
return if $jobset->project->owner->emailonerror == 0;
return if $errorMsg eq "";