1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

sys.exit removal for notification/mail.py

This commit is contained in:
Matt Martz 2015-10-05 13:23:34 -05:00 committed by Matt Clay
parent e99a202ac5
commit a87cf4967e

View file

@ -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()