mirror of
https://github.com/bol-van/zapret.git
synced 2024-11-30 05:50:53 +03:00
fix: tpws exit on pm-suspend
This commit is contained in:
parent
7227c136d8
commit
a5ff626123
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -323,6 +323,7 @@ int event_loop(int listen_fd) {
|
|||||||
|
|
||||||
while (1) {
|
while (1) {
|
||||||
if ((num_events = epoll_wait(efd, events, MAX_EPOLL_EVENTS, -1)) == -1) {
|
if ((num_events = epoll_wait(efd, events, MAX_EPOLL_EVENTS, -1)) == -1) {
|
||||||
|
if (errno==EINTR) continue; // system call was interrupted
|
||||||
perror("epoll_wait");
|
perror("epoll_wait");
|
||||||
retval = -1;
|
retval = -1;
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user