Comparison

util/startup.lua @ 9214:8b2b8f1a911f

util.startup: Set flag when config fully loaded
author Matthew Wild <mwild1@gmail.com>
date Sun, 19 Aug 2018 14:44:50 +0100
parent 8958:b10a37f6f75f
child 9762:34988a408b74
comparison
equal deleted inserted replaced
9213:172f93f752b8 9214:8b2b8f1a911f
63 print("Good luck!"); 63 print("Good luck!");
64 print("**************************"); 64 print("**************************");
65 print(""); 65 print("");
66 os.exit(1); 66 os.exit(1);
67 end 67 end
68 prosody.config_loaded = true;
68 end 69 end
69 70
70 function startup.check_dependencies() 71 function startup.check_dependencies()
71 if not dependencies.check_dependencies() then 72 if not dependencies.check_dependencies() then
72 os.exit(1); 73 os.exit(1);