From df27bb444e04cdd36d74010290e9270f129eeb3c Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Mon, 4 May 2009 05:21:18 +0000 Subject: Fix a warning about @pid being uninitialized --- lib/unicorn.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/unicorn.rb') diff --git a/lib/unicorn.rb b/lib/unicorn.rb index aadd7af..0b8ac5e 100644 --- a/lib/unicorn.rb +++ b/lib/unicorn.rb @@ -64,6 +64,7 @@ module Unicorn # incoming requests on the socket. def initialize(app, options = {}) @app = app + @pid = nil @reexec_pid = 0 @init_listeners = options[:listeners] ? options[:listeners].dup : [] @config = Configurator.new(options.merge(:use_defaults => true)) -- cgit v1.2.3-24-ge0c7