aboutsummaryrefslogtreecommitdiffstats
path: root/util/startup.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2018-03-24 21:39:03 +0100
committerKim Alvefur <zash@zash.se>2018-03-24 21:39:03 +0100
commit0f50f6fbbfd4c1c2ba9d08a8daa2b6d89294d11c (patch)
tree5efcd163bdeabbaf59043bad99e567cd4fe5cf6c /util/startup.lua
parentcd483ec3391f7f0bf6b224438dface68bb555473 (diff)
downloadprosody-0f50f6fbbfd4c1c2ba9d08a8daa2b6d89294d11c.tar.gz
prosody-0f50f6fbbfd4c1c2ba9d08a8daa2b6d89294d11c.zip
util.startup: Read version for prosodyctl (restores version in 'about' command)
Diffstat (limited to 'util/startup.lua')
-rw-r--r--util/startup.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/util/startup.lua b/util/startup.lua
index 5c9e070b..a48c2fc7 100644
--- a/util/startup.lua
+++ b/util/startup.lua
@@ -487,6 +487,7 @@ function startup.prosodyctl()
startup.read_config();
startup.init_global_state();
startup.chdir();
+ startup.read_version();
startup.switch_user();
startup.check_dependencies();
startup.force_console_logging();