Diff

util/startup.lua @ 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
parent 8682:151ecd18d624
child 8692:a55574754e5f
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();