aboutsummaryrefslogtreecommitdiffstats
path: root/util
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
commit9cd0153dd77ff1a2ecb4f5e3c0bc9719b263c238 (patch)
tree5efcd163bdeabbaf59043bad99e567cd4fe5cf6c /util
parentdf071bf2e4e3bab468a4d25b0fc9cdef05474c34 (diff)
downloadprosody-9cd0153dd77ff1a2ecb4f5e3c0bc9719b263c238.tar.gz
prosody-9cd0153dd77ff1a2ecb4f5e3c0bc9719b263c238.zip
util.startup: Read version for prosodyctl (restores version in 'about' command)
Diffstat (limited to 'util')
-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();