diff options
author | Matthew Wild <mwild1@gmail.com> | 2010-02-05 15:05:39 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2010-02-05 15:05:39 +0000 |
commit | 85d9e34b7ef05738e88fa83a8eece3b5ee9077b2 (patch) | |
tree | 1c7d5a19fb96e48c69ec4d84496da25f3d0a5d77 | |
parent | 9ed7624f754479dfb78d90a5367678567424a03b (diff) | |
download | prosody-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-x | prosody | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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"; |