X-Git-Url: https://git.octo.it/?p=collectd.git;a=blobdiff_plain;f=src%2Fperl.c;h=cdfb8d5e6d6a3dc16691bb2e5b98e476605bf8f5;hp=400057b77c0b42b9dc8503336a5d233a9b003c03;hb=576d966de9a98aacd1a2740abb349022cc32d913;hpb=e628f39838a67b40d52dfb8425b4d8474fbd0550 diff --git a/src/perl.c b/src/perl.c index 400057b7..cdfb8d5e 100644 --- a/src/perl.c +++ b/src/perl.c @@ -1806,7 +1806,10 @@ static int perl_config (oconfig_item_t *ci) else if (0 == strcasecmp (c->key, "Plugin")) current_status = perl_config_plugin (aTHX_ c); else + { log_warn ("Ignoring unknown config key \"%s\".", c->key); + current_status = 0; + } /* fatal error - it's up to perl_config_* to clean up */ if (0 > current_status) {