From: Andrew Bays Date: Tue, 27 Mar 2018 14:06:18 +0000 (-0400) Subject: Check ignorelist during init X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=9ea8cdcd472d3fbf177bf7ea3efac466495bedab;p=collectd.git Check ignorelist during init --- diff --git a/src/procevent.c b/src/procevent.c index 368e7c41..aba66178 100644 --- a/src/procevent.c +++ b/src/procevent.c @@ -987,7 +987,7 @@ static int procevent_init(void) /* {{{ */ return (-1); } - if (processlist_head == NULL) { + if (ignorelist == NULL) { NOTICE("procevent plugin: No processes have been configured."); return (-1); }