aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2010-02-05 15:05:39 +0000
committerMatthew Wild <mwild1@gmail.com>2010-02-05 15:05:39 +0000
commit586c38979c3643041262413ef0f929bfd7f26316 (patch)
tree5ff06c49121249b03c6ae3ea7d6ae3810d152e88
parent697504312c832bec7e5dcee168295245733f425b (diff)
downloadprosody-586c38979c3643041262413ef0f929bfd7f26316.tar.gz
prosody-586c38979c3643041262413ef0f929bfd7f26316.zip
prosody: Add a catch-all friendly message for when any port is in use we want to use
-rwxr-xr-xprosody2
1 files changed, 2 insertions, 0 deletions
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";