]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
watcher: Don't complain if select() syscall got interrupted
authorMartin Willi <martin@revosec.ch>
Wed, 22 Jan 2014 13:25:03 +0000 (14:25 +0100)
committerMartin Willi <martin@revosec.ch>
Wed, 22 Jan 2014 14:34:53 +0000 (15:34 +0100)
src/libstrongswan/processing/watcher.c

index 9773e7601ab1e65f33abc99c275903558f2a30c1..cc3c3a788cfc20dd23fed31a08139845425041c4 100644 (file)
@@ -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));
                        }