From: Alexander Kanavin <alex.kana...@gmail.com>

Signed-off-by: Alexander Kanavin <alex.kana...@gmail.com>
---
 upgradehelper.py | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/upgradehelper.py b/upgradehelper.py
index d3cc2c4..043d334 100755
--- a/upgradehelper.py
+++ b/upgradehelper.py
@@ -380,8 +380,7 @@ class Updater(object):
             if os.path.isfile(attachment_fullpath):
                 attachments.append(attachment_fullpath)
 
-        # Only send email to Maintainer when recipe upgrade succeed.
-        if self.opts['send_email'] and not pkg_ctx['error']:
+        if self.opts['send_email']:
             self.email_handler.send_email(to_addr, subject, msg_body, 
attachments, cc_addr=cc_addr)
         # Preserve email for review purposes.
         email_file = os.path.join(pkg_ctx['workdir'],
-- 
2.15.0

-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to