From b7a906d0dafe2b6832536fe190e033bbc321bea8 Mon Sep 17 00:00:00 2001 From: Ruben Kerkhof Date: Mon, 18 Feb 2019 15:02:00 +0100 Subject: [PATCH] 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. --- src/daemon/collectd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.11.0