X-Git-Url: https://git.octo.it/?p=collectd.git;a=blobdiff_plain;f=src%2Fconnectivity.c;h=45b65aab5b09c1c5ba35110bbff618f6144de153;hp=ca7b28642a5372f3d4c7508a6f26a83808419bdc;hb=48efd3deb4c9139fd060ff3d289896e9031bcc7c;hpb=a9f9dc60152cf829b4246b8b1851c8735d05415d diff --git a/src/connectivity.c b/src/connectivity.c index ca7b2864..45b65aab 100644 --- a/src/connectivity.c +++ b/src/connectivity.c @@ -534,12 +534,6 @@ static int read_event(int (*msg_handler)(struct nlmsghdr *)) { continue; } - if (errno == EINTR) - { - // Interrupt, so just return - return 0; - } - /* Anything else is an error */ ERROR("connectivity plugin: read_event: Error recv: %d", status); return status;