mirror of
https://codeberg.org/dnkl/yambar.git
synced 2025-04-24 04:45:41 +02:00
module/i3-common: being disconnected is usually not an error
This commit is contained in:
parent
fce37e86e4
commit
e36ba56caf
1 changed files with 4 additions and 2 deletions
|
@ -142,11 +142,13 @@ i3_receive_loop(int abort_fd, int sock,
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (fds[0].revents & POLLIN)
|
if (fds[0].revents & POLLIN) {
|
||||||
|
LOG_DBG("aborted");
|
||||||
break;
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
if (fds[1].revents & POLLHUP) {
|
if (fds[1].revents & POLLHUP) {
|
||||||
LOG_WARN("disconnected");
|
LOG_DBG("disconnected");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue