diff options
-rw-r--r-- | config.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -376,8 +376,7 @@ config_parse_header(struct cfg *cfg, const char *filename, const char *title, sprintf(titlehdr, "[%s]", title); if (strcmp(line, titlehdr)) { - printf("%s: incorrect header in configuration file\n", - filename); + error("%s: incorrect header in configuration file\n", filename); return false; } } |