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
commit85d9e34b7ef05738e88fa83a8eece3b5ee9077b2 (patch)
tree1c7d5a19fb96e48c69ec4d84496da25f3d0a5d77
parent9ed7624f754479dfb78d90a5367678567424a03b (diff)
downloadprosody-85d9e34b7ef05738e88fa83a8eece3b5ee9077b2.tar.gz
prosody-85d9e34b7ef05738e88fa83a8eece3b5ee9077b2.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 ce56fbb1..65d8dceb 100755
--- a/prosody
+++ b/prosody
@@ -215,6 +215,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";