diff options
-rw-r--r-- | lib/unicorn/launcher.rb | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/unicorn/launcher.rb b/lib/unicorn/launcher.rb index 0d957cf..0d415dd 100644 --- a/lib/unicorn/launcher.rb +++ b/lib/unicorn/launcher.rb @@ -24,11 +24,7 @@ module Unicorn::Launcher # We only start a new process group if we're not being reexecuted # and inheriting file descriptors from our parent - if ENV['UNICORN_FD'] - exit if fork - Process.setsid - exit if fork - else + unless ENV['UNICORN_FD'] # grandparent - reads pipe, exits when master is ready # \_ parent - exits immediately ASAP # \_ unicorn master - writes to pipe when ready |