From 586c38979c3643041262413ef0f929bfd7f26316 Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Fri, 5 Feb 2010 15:05:39 +0000 Subject: prosody: Add a catch-all friendly message for when any port is in use we want to use --- prosody | 2 ++ 1 file changed, 2 insertions(+) diff --git a/prosody b/prosody index 19bdfeb1..9e41c277 100755 --- a/prosody +++ b/prosody @@ -225,6 +225,8 @@ function init_global_state() elseif port == 5280 then friendly_message = "check that Prosody or a BOSH connection manager " .."is not already running"; + else + friendly_message = "this port is in use by another application"; end elseif err:match("permission") then friendly_message = "Prosody does not have sufficient privileges to use this port"; -- cgit v1.2.3