From b9db429c2bac961f8ef040d3dc2061ab14a94a5b Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Wed, 4 Mar 2009 11:07:14 -0800 Subject: Ensure we always try to have a default listener This is a followup to 11172f9bdcc7c57c9ae857a8088e49527a953fa1 --- bin/unicorn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/unicorn b/bin/unicorn index de93985..3b467c9 100755 --- a/bin/unicorn +++ b/bin/unicorn @@ -145,7 +145,7 @@ end if listeners.empty? listener = "#{host}:#{port}" - listeners << listener if listener != Unicorn::Const::DEFAULT_LISTEN + listeners << listener end if $DEBUG -- cgit v1.2.3-24-ge0c7