watcher: Don't complain if select() syscall got interrupted
This commit is contained in:
1 parent
e49b299867
commit
027cf7ddcf
1 file changed
+1
-1
@@ -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));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user