aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-03-12 09:19:21 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-03-12 09:19:21 +0000
commit9fae38a4b22afe0baf54d3a62e7f4df8a606b5e5 (patch)
tree1f0d1033e792956b6302de63a5e93083b97c3ef2
parentbindings: add minimize/maximize/fullscreen actions (diff)
config: 'invalid key' is always an error, not a warning
-rw-r--r--config.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/config.c b/config.c
index 19377b8a..77b74227 100644
--- a/config.c
+++ b/config.c
@@ -258,7 +258,7 @@ parse_section_main(const char *key, const char *value, struct config *conf,
}
else {
- LOG_WARN("%s:%u: invalid key: %s", path, lineno, key);
+ LOG_ERR("%s:%u: invalid key: %s", path, lineno, key);
return false;
}
@@ -440,7 +440,7 @@ parse_section_csd(const char *key, const char *value, struct config *conf,
}
else {
- LOG_WARN("%s:%u: invalid key: %s", path, lineno, key);
+ LOG_ERR("%s:%u: invalid key: %s", path, lineno, key);
return false;
}
@@ -474,8 +474,7 @@ parse_section_key_bindings(const char *key, const char *value, struct config *co
return true;
}
-
- LOG_WARN("%s:%u: invalid key: %s", path, lineno, key);
+ LOG_ERR("%s:%u: invalid key: %s", path, lineno, key);
return false;
}