projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
75d4c13
)
perl plugin: Improve error message.
author
Florian Forster
<octo@collectd.org>
Wed, 20 Sep 2017 17:38:10 +0000
(19:38 +0200)
committer
Florian Forster
<octo@collectd.org>
Wed, 20 Sep 2017 17:38:10 +0000
(19:38 +0200)
src/perl.c
patch
|
blob
|
history
diff --git
a/src/perl.c
b/src/perl.c
index
66ad181
..
a6739c4
100644
(file)
--- a/
src/perl.c
+++ b/
src/perl.c
@@
-2399,8
+2399,8
@@
static int perl_config_plugin(pTHX_ oconfig_item_t *ci) {
HV *config;
if (NULL == perl_threads) {
HV *config;
if (NULL == perl_threads) {
- log_err("
No plugins was loaded yet! Put your plugin configuration block
"
- "
after relevant `LoadPlugin' option
.");
+ log_err("
A `Plugin' block was encountered but no plugin was loaded yet.
"
+ "
Put the appropriate `LoadPlugin' option in front of it
.");
return -1;
}
return -1;
}