mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-05 18:23:09 +00:00
sys.exit removal for notification/mail.py
This commit is contained in:
@@ -285,7 +285,6 @@ def main():
|
||||
msg.attach(part)
|
||||
except Exception, e:
|
||||
module.fail_json(rc=1, msg="Failed to send mail: can't attach file %s: %s" % (file, e))
|
||||
sys.exit()
|
||||
|
||||
composed = msg.as_string()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user