projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'collectd-4.2' into collectd-4.3
[collectd.git]
/
src
/
perl.c
diff --git
a/src/perl.c
b/src/perl.c
index
7558a50
..
6d3326f
100644
(file)
--- a/
src/perl.c
+++ b/
src/perl.c
@@
-1514,6
+1514,11
@@
static int perl_config_includedir (pTHX_ oconfig_item_t *ci)
return 1;
}
+ if (NULL == aTHX) {
+ log_warn ("EnableDebugger has no effects if used after LoadPlugin.");
+ return 1;
+ }
+
value = ci->values[0].value.string;
if (NULL == aTHX) {