warn if we can't parse the config file on start, just like we do on reload.

part of a larger diff that was ok oga@
This commit is contained in:
okan 2011-06-25 13:37:05 +00:00
parent 0573d184f7
commit bcf90f5f34

3
conf.c
View File

@ -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