From: Ruben Kerkhof Date: Mon, 18 Feb 2019 14:02:00 +0000 (+0100) Subject: Clarify error message a bit X-Git-Tag: collectd-5.9.0~42^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b7a906d0dafe2b6832536fe190e033bbc321bea8;p=thirdparty%2Fcollectd.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 a46200532..ae2d3270b 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; }