summary refs log tree commit diff
path: root/conf.c
diff options
context:
space:
mode:
Diffstat (limited to 'conf.c')
-rw-r--r--conf.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/conf.c b/conf.c
index f5588bc..2a34d32 100644
--- a/conf.c
+++ b/conf.c
@@ -283,7 +283,8 @@ conf_setup(struct conf *c, const char *conf_file)
 
 	conf_init(c);
 
-	(void)parse_config(c->conf_path, c);
+	if (parse_config(c->conf_path, c) == -1)
+		warnx("config file %s has errors, not loading", c->conf_path);
 }
 
 void