From e37d8d0c6355e48fd6d2627313b9003a160f27fc Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sun, 28 Feb 2010 19:36:16 -0800 Subject: bin/*: remove redundant $DEBUG check --- bin/unicorn | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'bin/unicorn') diff --git a/bin/unicorn b/bin/unicorn index 7c65590..658d27c 100755 --- a/bin/unicorn +++ b/bin/unicorn @@ -112,11 +112,10 @@ ru = ARGV[0] || "config.ru" abort "configuration file #{ru} not found" unless File.exist?(ru) app = Unicorn.builder(ru, opts) -require 'pp' if $DEBUG - listeners << "#{host}:#{port}" if set_listener if $DEBUG + require 'pp' pp({ :unicorn_options => options, :app => app, -- cgit v1.2.3-24-ge0c7