From: Martin Willi Date: Wed, 22 Jan 2014 13:25:03 +0000 (+0100) Subject: watcher: Don't complain if select() syscall got interrupted X-Git-Tag: 5.1.2rc1~61 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=027cf7ddcf9840ba2556b1e0967b98d7d62e09fa;p=thirdparty%2Fstrongswan.git watcher: Don't complain if select() syscall got interrupted --- diff --git a/src/libstrongswan/processing/watcher.c b/src/libstrongswan/processing/watcher.c index 9773e7601a..cc3c3a788c 100644 --- a/src/libstrongswan/processing/watcher.c +++ b/src/libstrongswan/processing/watcher.c @@ -340,7 +340,7 @@ static job_requeue_t watch(private_watcher_t *this) } else { - if (!this->pending) + if (!this->pending && errno != EINTR) { /* complain only if no pending updates */ DBG1(DBG_JOB, "watcher select() error: %s", strerror(errno)); }