Browse Source

Log the version on startup

Marc Di Luzio 6 years ago
parent
commit
bd1f9bc543
1 changed files with 3 additions and 0 deletions
  1. 3 0
      daemon/main.c

+ 3 - 0
daemon/main.c

@@ -167,6 +167,9 @@ int main(int argc, char *argv[])
 		daemonize(argv[0]);
 	}
 
+	/* Log a version message on startup */
+	LOG_MSG("v%s\n", GAMEMODE_VERSION);
+
 	/* Set up the game mode context */
 	context = game_mode_context_instance();
 	game_mode_context_init(context);