aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2018-08-19 14:44:50 +0100
committerMatthew Wild <mwild1@gmail.com>2018-08-19 14:44:50 +0100
commitcbaa78eccafb3b98ddd34385690c2e2ede04314c (patch)
treed367565b2758a98c70eadd5154acca7089a7ecf4
parentb24d0a5b081a2929f16deb8354e3545679f8ca99 (diff)
downloadprosody-cbaa78eccafb3b98ddd34385690c2e2ede04314c.tar.gz
prosody-cbaa78eccafb3b98ddd34385690c2e2ede04314c.zip
util.startup: Set flag when config fully loaded
-rw-r--r--util/startup.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/util/startup.lua b/util/startup.lua
index 4ae45bdf..e92867dc 100644
--- a/util/startup.lua
+++ b/util/startup.lua
@@ -65,6 +65,7 @@ function startup.read_config()
print("");
os.exit(1);
end
+ prosody.config_loaded = true;
end
function startup.check_dependencies()