X-Git-Url: https://git.octo.it/?p=collectd.git;a=blobdiff_plain;f=src%2Fperl.c;h=4a76c0aa6f636d9075057c83e39b8d6b6b5c060d;hp=343c83aefa99e27f0de126460ca0dc0d8d04ff61;hb=ef7fec0c4e0bbbabb356e6a570ac6297ee06eb80;hpb=074b4980bc75bea6826e6a38dcc6e193a721b2a8 diff --git a/src/perl.c b/src/perl.c index 343c83ae..4a76c0aa 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) {