From: Pavel Rochnyack Date: Sun, 12 May 2019 12:26:38 +0000 (+0700) Subject: virt plugin: Fixed virt_notif_thread_init() place X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=7bf770495c8d7dd9ccec2eb9f8a75a99aa2b01a5;p=collectd.git virt plugin: Fixed virt_notif_thread_init() place --- diff --git a/src/virt.c b/src/virt.c index 03ac9018..1fdf45bd 100644 --- a/src/virt.c +++ b/src/virt.c @@ -2382,11 +2382,11 @@ static int lv_init(void) { if (lv_init_ignorelists() != 0) return -1; - lv_connect(); - if (!persistent_notification) virt_notif_thread_init(¬if_thread); + lv_connect(); + DEBUG(PLUGIN_NAME " plugin: starting %i instances", nr_instances); for (int i = 0; i < nr_instances; ++i)