1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Kernel#exit accepts a boolean

This commit is contained in:
George Claghorn 2018-11-26 16:38:21 -05:00
parent dcea1b18da
commit 09da258fab

View file

@ -17,7 +17,7 @@ namespace :action_mailbox do
ActionMailbox::PostfixRelayer.new(url: url, password: password).relay(STDIN.read).tap do |result|
print result.output
exit result.success? ? 0 : 1
exit result.success?
end
end
end