prosodyctl

changeset 2510
97b5ea975cb9
parent 2497
810fb77b6fe6
child 2511
a81c710b1708
--- a/prosodyctl	Thu Jan 28 13:39:23 2010 +0000
+++ b/prosodyctl	Thu Jan 28 14:56:47 2010 +0000
@@ -29,10 +29,13 @@
 	end
 end
 
+if not require "util.dependencies".check_dependencies() then
+	os.exit(1);
+end
+
 -- Required to be able to find packages installed with luarocks
 pcall(require, "luarocks.require")
 
-require "util.dependencies"
 
 config = require "core.configmanager"
 

mercurial