projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1b9bd20
)
virt plugin: Check for virt_notif_thread_init() success
author
Pavel Rochnyack
<pavel2000@ngs.ru>
Mon, 13 May 2019 07:31:39 +0000
(14:31 +0700)
committer
Pavel Rochnyack
<pavel2000@ngs.ru>
Mon, 13 May 2019 07:31:39 +0000
(14:31 +0700)
src/virt.c
patch
|
blob
|
history
diff --git
a/src/virt.c
b/src/virt.c
index
62e6089
..
cd82dca
100644
(file)
--- a/
src/virt.c
+++ b/
src/virt.c
@@
-2386,7
+2386,8
@@
static int lv_init(void) {
return -1;
if (!persistent_notification)
- virt_notif_thread_init(¬if_thread);
+ if (virt_notif_thread_init(¬if_thread) != 0)
+ return -1;
lv_connect();