Check ignorelist during init
authorAndrew Bays <andrew.bays@gmail.com>
Tue, 27 Mar 2018 14:06:18 +0000 (10:06 -0400)
committerAndrew Bays <andrew.bays@gmail.com>
Wed, 4 Sep 2019 19:50:44 +0000 (15:50 -0400)
src/procevent.c

index 368e7c4..aba6617 100644 (file)
@@ -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);
   }