main: log version at startup

This commit is contained in:
Daniel Eklöf 2020-03-15 11:41:24 +01:00
parent 065de3484c
commit ef5bacc618
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

2
main.c
View file

@ -272,6 +272,8 @@ main(int argc, char *const *argv)
argc -= optind;
argv += optind;
LOG_INFO("version: %s", FOOT_VERSION);
struct config conf = {NULL};
if (!config_load(&conf, conf_path)) {
config_free(conf);