diff options
author | Matthew Wild <mwild1@gmail.com> | 2010-01-28 14:56:47 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2010-01-28 14:56:47 +0000 |
commit | 08284a586ec1213f7f22e86fb6950b5f335915a9 (patch) | |
tree | 7620dce4026b57f21936ef7122292bd2da994cfa /prosody | |
parent | 74ceb83ccae35196585ffab5abe678e544de9d1b (diff) | |
download | prosody-08284a586ec1213f7f22e86fb6950b5f335915a9.tar.gz prosody-08284a586ec1213f7f22e86fb6950b5f335915a9.zip |
util.dependencies, prosody, prosodyctl: Give util.dependencies a check_dependencies() function so the caller can decide what to do when dependencies aren't met - update prosody/prosodyctl for this change
Diffstat (limited to 'prosody')
-rwxr-xr-x | prosody | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -114,7 +114,9 @@ function load_libraries() require "core.loggingmanager" -- Check runtime dependencies - require "util.dependencies" + if not require "util.dependencies".check_dependencies() then + os.exit(1); + end -- Load socket framework server = require "net.server" |