From 027cf7ddcf9840ba2556b1e0967b98d7d62e09fa Mon Sep 17 00:00:00 2001 From: Martin Willi Date: Wed, 22 Jan 2014 14:25:03 +0100 Subject: [PATCH] watcher: Don't complain if select() syscall got interrupted --- src/libstrongswan/processing/watcher.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); } -- 2.47.2