cvsimport

This commit is contained in:
okan
2014-01-28 20:22:21 +00:00
7 changed files with 30 additions and 75 deletions

View File

@ -108,8 +108,11 @@ main(int argc, char **argv)
}
conf_init(&Conf);
if (conf_path && (parse_config(conf_path, &Conf) == -1))
if (conf_path && (parse_config(conf_path, &Conf) == -1)) {
warnx("config file %s has errors, not loading", conf_path);
conf_clear(&Conf);
conf_init(&Conf);
}
free(conf_path);
x_init(display_name);