mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05:00
config: configuration errors are no longer fatal
Instead of refusing to start foot on configuration errors, we start and print a user-notification.
This commit is contained in:
parent
639a61abd8
commit
b00dfcf7b6
4 changed files with 144 additions and 80 deletions
2
main.c
2
main.c
|
|
@ -322,7 +322,7 @@ main(int argc, char *const *argv)
|
|||
}
|
||||
|
||||
struct config conf = {NULL};
|
||||
if (!config_load(&conf, conf_path)) {
|
||||
if (!config_load(&conf, conf_path, check_config)) {
|
||||
config_free(conf);
|
||||
return ret;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue