From: Ruben Kerkhof Date: Mon, 18 Feb 2019 14:02:00 +0000 (+0100) Subject: Clarify error message a bit X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=b7a906d0dafe2b6832536fe190e033bbc321bea8;p=collectd.git Clarify error message a bit It's not really the reading of the file(s) that fails, they can be read fine, there are just errors in the config. --- diff --git a/src/daemon/collectd.c b/src/daemon/collectd.c index a4620053..ae2d3270 100644 --- a/src/daemon/collectd.c +++ b/src/daemon/collectd.c @@ -357,7 +357,7 @@ static int configure_collectd(struct cmdline_config *config) { * Also, this will automatically load modules. */ if (cf_read(config->configfile)) { - fprintf(stderr, "Error: Reading the config file failed!\n"); + fprintf(stderr, "Error: Parsing the config file failed!\n"); return 1; }