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:
parent
dcea1b18da
commit
09da258fab
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue