1
0
Fork 0
mirror of https://github.com/puma/puma.git synced 2022-11-09 13:48:40 -05:00

Always use our Process.daemon because it's not busted

This commit is contained in:
Evan Phoenix 2013-11-20 15:05:51 -08:00
parent d6496632fd
commit 775534c1e1

View file

@ -1,4 +1,8 @@
module Process
# This overrides the default version because it is broken if it
# exists.
def self.daemon(nochdir=false, noclose=false)
exit if fork # Parent exits, child continues.
@ -16,5 +20,5 @@ module Process
end
0
end unless respond_to?(:daemon)
end
end