projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
946c687
)
Handled interrupted socket reads
author
Andrew Bays
<abays@redhat.com>
Fri, 19 Oct 2018 14:05:30 +0000
(10:05 -0400)
committer
Andrew Bays
<andrew.bays@gmail.com>
Wed, 4 Sep 2019 19:50:44 +0000
(15:50 -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;
}
}