projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
015dde5
)
Clarify error message a bit
author
Ruben Kerkhof
<ruben@rubenkerkhof.com>
Mon, 18 Feb 2019 14:02:00 +0000
(15:02 +0100)
committer
Ruben Kerkhof
<ruben@rubenkerkhof.com>
Mon, 18 Feb 2019 14:02:00 +0000
(15:02 +0100)
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
patch
|
blob
|
history
diff --git
a/src/daemon/collectd.c
b/src/daemon/collectd.c
index
a462005
..
ae2d327
100644
(file)
--- 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:
Read
ing the config file failed!\n");
+ fprintf(stderr, "Error:
Pars
ing the config file failed!\n");
return 1;
}