diff --git a/src/plugin.c b/src/plugin.c
index abc08e579688e179889ca14d88f32a2fd812a9b2..98add242ce7ec84478b35e82507d8afd718792db 100644 (file)
--- a/src/plugin.c
+++ b/src/plugin.c
#ifdef HAVE_LIBRRD
if ((operating_mode == MODE_LOCAL) || (operating_mode == MODE_CLIENT))
#endif
- if (read == NULL)
+ if ((init != NULL) && (read == NULL))
syslog (LOG_NOTICE, "Plugin `%s' doesn't provide a read function.", type);
if ((p = (plugin_t *) malloc (sizeof (plugin_t))) == NULL)