Changeset

8688:019b4b3dd5ad

util.startup: Read version for prosodyctl (restores version in 'about' command)
author Kim Alvefur <zash@zash.se>
date Sat, 24 Mar 2018 21:39:03 +0100
parents 8687:ee01578c67cb
children 8689:c7122fbe1600
files util/startup.lua
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/util/startup.lua	Sat Mar 24 00:06:55 2018 +0100
+++ b/util/startup.lua	Sat Mar 24 21:39:03 2018 +0100
@@ -487,6 +487,7 @@
 	startup.read_config();
 	startup.init_global_state();
 	startup.chdir();
+	startup.read_version();
 	startup.switch_user();
 	startup.check_dependencies();
 	startup.force_console_logging();