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 | 586c38979c3643041262413ef0f929bfd7f26316 (patch) | |
tree | 5ff06c49121249b03c6ae3ea7d6ae3810d152e88 /prosody | |
parent | 697504312c832bec7e5dcee168295245733f425b (diff) | |
download | prosody-586c38979c3643041262413ef0f929bfd7f26316.tar.gz prosody-586c38979c3643041262413ef0f929bfd7f26316.zip |
prosody: Add a catch-all friendly message for when any port is in use we want to use
Diffstat (limited to 'prosody')
-rwxr-xr-x | prosody | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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"; |