mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-22 05:33:45 -04:00
main: log version at startup
This commit is contained in:
parent
065de3484c
commit
ef5bacc618
1 changed files with 2 additions and 0 deletions
2
main.c
2
main.c
|
|
@ -272,6 +272,8 @@ main(int argc, char *const *argv)
|
||||||
argc -= optind;
|
argc -= optind;
|
||||||
argv += optind;
|
argv += optind;
|
||||||
|
|
||||||
|
LOG_INFO("version: %s", FOOT_VERSION);
|
||||||
|
|
||||||
struct config conf = {NULL};
|
struct config conf = {NULL};
|
||||||
if (!config_load(&conf, conf_path)) {
|
if (!config_load(&conf, conf_path)) {
|
||||||
config_free(conf);
|
config_free(conf);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue