...
This commit is contained in:
parent
4b1fa2609d
commit
fb8eb69c20
1 changed files with 1 additions and 1 deletions
|
|
@ -164,7 +164,7 @@ read_signals(int fd, handle_signal_func callback, void *data) {
|
|||
ssize_t len = read(fd, buf + buf_pos, sizeof(buf) - buf_pos);
|
||||
if (len < 0) {
|
||||
if (errno == EINTR) continue;
|
||||
if (errno != EIO && errno != EAGAIN) log_error("Call to read() from read_signals() failed with error: %s", strerror(errno));
|
||||
if (errno != EWOULDBLOCK && errno != EAGAIN) log_error("Call to read() from read_signals() failed with error: %s", strerror(errno));
|
||||
break;
|
||||
}
|
||||
buf_pos += len;
|
||||
|
|
|
|||
Loading…
Reference in a new issue