aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Willi <martin@revosec.ch>2014-01-22 14:25:03 +0100
committerMartin Willi <martin@revosec.ch>2014-01-22 15:34:53 +0100
commit027cf7ddcf9840ba2556b1e0967b98d7d62e09fa (patch)
tree345c1687629da9a05d4ceb366e5b8d39e8e01115
parente49b299867989bbad677c9cc86c1e9be80d8ca2a (diff)
downloadstrongswan-027cf7ddcf9840ba2556b1e0967b98d7d62e09fa.tar.bz2
strongswan-027cf7ddcf9840ba2556b1e0967b98d7d62e09fa.tar.xz
watcher: Don't complain if select() syscall got interrupted
-rw-r--r--src/libstrongswan/processing/watcher.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstrongswan/processing/watcher.c b/src/libstrongswan/processing/watcher.c
index 9773e7601..cc3c3a788 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));
}