1
0
Fork 0
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:
Morton Jonuschat 2013-08-21 07:25:25 +02:00
parent ec2b732ba7
commit dcc55fb021

View file

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