X-Git-Url: https://git.octo.it/?p=collectd.git;a=blobdiff_plain;f=src%2Fperl.c;h=d9e1e00fb75f927341401058f85e3b53a68c0718;hp=2946ab3abb39e1ddcf22d597c7d426854e9d4c9d;hb=568420ac172981edccb8587cc9651952fe350365;hpb=fd9c88963b04c9e9050a952ba0f018493e8b7638 diff --git a/src/perl.c b/src/perl.c index 2946ab3a..d9e1e00f 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) {