mirror of
https://github.com/puma/puma.git
synced 2022-11-09 13:48:40 -05:00
Return success status to the invoking environment
Daemonizing on JRuby returned an error status to the invoking environment due to exit! defaulting to a return status of „false“ in constrast to exit which defaults to „true“.
This commit is contained in:
parent
ec2b732ba7
commit
dcc55fb021
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ module Puma
|
|||
# Must use exit! so we don't unwind and run the ensures
|
||||
# that will be run by the new child (such as deleting the
|
||||
# pidfile)
|
||||
exit!
|
||||
exit!(true)
|
||||
end
|
||||
|
||||
Signal.trap "SIGCHLD" do
|
||||
|
|
Loading…
Reference in a new issue