projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3fac38d
)
Handled interrupted socket reads
author
Andrew Bays
<abays@redhat.com>
Fri, 19 Oct 2018 14:05:30 +0000
(10:05 -0400)
committer
Andrew Bays
<abays@redhat.com>
Fri, 19 Oct 2018 14:05:30 +0000
(10:05 -0400)
src/procevent.c
patch
|
blob
|
history
diff --git
a/src/procevent.c
b/src/procevent.c
index
38c3fd1
..
850f774
100644
(file)
--- a/
src/procevent.c
+++ b/
src/procevent.c
@@
-789,6
+789,9
@@
static int read_event() {
} else if (errno != EINTR) {
ERROR("procevent plugin: socket receive error: %d", errno);
return -1;
+ } else {
+ // Interrupt, so just return
+ return 0;
}
}