aboutsummaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-07-31 15:07:14 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-07-31 15:07:14 +0000
commitb00dfcf7b6d89f33e2ddad9ebcf96350b5a10c99 (patch)
tree5ec40904b5480510cb350de30de76a7a196bb069 /main.c
parentconfig: add 'pipe-selected' key binding (diff)
config: configuration errors are no longer fatal
Instead of refusing to start foot on configuration errors, we start and print a user-notification.
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index 6523907b..4056fe39 100644
--- a/main.c
+++ b/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;
}