projects
/
prosody.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
38bba49
)
prosody: Add a catch-all friendly message for when any port is in use we want to use
author
Matthew Wild
<mwild1@gmail.com>
Fri, 5 Feb 2010 15:05:39 +0000
(15:05 +0000)
committer
Matthew Wild
<mwild1@gmail.com>
Fri, 5 Feb 2010 15:05:39 +0000
(15:05 +0000)
prosody
patch
|
blob
|
history
diff --git
a/prosody
b/prosody
index 19bdfeb191837db8bc19c0f259074d73e632da88..9e41c27711186f78dab18504216101728088b891 100755
(executable)
--- 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";