summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/config.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/config.c b/src/config.c
index edf1f3b..bb6ddf7 100644
--- a/src/config.c
+++ b/src/config.c
@@ -445,6 +445,9 @@ config_file_walk(config_fn_walk_cb_t fn_cb,
*value = '\0';
value++;
}
+ else {
+ EXIT(_("invalid configuration directive: \"%s\""), e_conf);
+ }
if (strcmp(key, "auto_save") == 0 ||
strcmp(key, "auto_gc") == 0 ||