diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2018-09-23 13:36:30 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2018-09-23 13:36:30 +0000 |
commit | c9640667d13cb8f37a94858acac68c0e6174107d (patch) | |
tree | 640eaf01f622ae28268aa716be70330a4b0ee558 /lib/tasks | |
parent | e978d480cd2fe774d9e34c266b6e09ad93291d39 (diff) | |
download | redmine-c9640667d13cb8f37a94858acac68c0e6174107d.tar.gz redmine-c9640667d13cb8f37a94858acac68c0e6174107d.zip |
redmine:email:read and rdm-mailhandler.rb should use safe_receive instead of receive (#29614).
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@17508 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib/tasks')
-rw-r--r-- | lib/tasks/email.rake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tasks/email.rake b/lib/tasks/email.rake index 86ef628e8..3c57f1af8 100644 --- a/lib/tasks/email.rake +++ b/lib/tasks/email.rake @@ -26,7 +26,7 @@ END_DESC task :read => :environment do Mailer.with_synched_deliveries do - MailHandler.receive(STDIN.read, MailHandler.extract_options_from_env(ENV)) + MailHandler.safe_receive(STDIN.read, MailHandler.extract_options_from_env(ENV)) end end |