Check ignorelist during init
authorAndrew Bays <andrew.bays@gmail.com>
Tue, 27 Mar 2018 14:06:18 +0000 (10:06 -0400)
committerGitHub <noreply@github.com>
Tue, 27 Mar 2018 14:06:18 +0000 (10:06 -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);
   }