Comparison

prosodyctl @ 2566:48dfd5c9dc5d

prosodyctl: Initialize logging before checking dependencies
author Ali Sabil <ali.sabil@gmail.com>
date Fri, 05 Feb 2010 16:01:21 +0100
parent 2515:50517948705c
child 2587:c37f971f0fe6
comparison
equal deleted inserted replaced
2565:a0d22b6a3144 2566:48dfd5c9dc5d
26 if CFG_DATADIR then 26 if CFG_DATADIR then
27 if os.getenv("HOME") then 27 if os.getenv("HOME") then
28 CFG_DATADIR = CFG_DATADIR:gsub("^~", os.getenv("HOME")); 28 CFG_DATADIR = CFG_DATADIR:gsub("^~", os.getenv("HOME"));
29 end 29 end
30 end 30 end
31
32 require "core.loggingmanager"
31 33
32 if not require "util.dependencies".check_dependencies() then 34 if not require "util.dependencies".check_dependencies() then
33 os.exit(1); 35 os.exit(1);
34 end 36 end
35 37