summaryrefslogtreecommitdiff
path: root/src/conn-tools/s6-ipcserverd.c
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2019-05-14 00:31:06 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2019-05-14 00:31:06 +0000
commit183caee41c995f5cd9926d8f4b859ee97c3c478d (patch)
treeac1f12caa92b324a2f4a050332fcbebe915a4592 /src/conn-tools/s6-ipcserverd.c
parent94d5ea5f6b6fea693d1c4a2ed3e81abd10220fe5 (diff)
downloads6-183caee41c995f5cd9926d8f4b859ee97c3c478d.tar.xz
bugfix: s6-ipcserverd: fix spurious warning when at maxconn
Diffstat (limited to 'src/conn-tools/s6-ipcserverd.c')
-rw-r--r--src/conn-tools/s6-ipcserverd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conn-tools/s6-ipcserverd.c b/src/conn-tools/s6-ipcserverd.c
index 8fac429..1a63503 100644
--- a/src/conn-tools/s6-ipcserverd.c
+++ b/src/conn-tools/s6-ipcserverd.c
@@ -384,7 +384,7 @@ int main (int argc, char const *const *argv, char const *const *envp)
strerr_diefu1sys(111, "iopause") ;
if (x[0].revents & IOPAUSE_EXCEPT) strerr_dief1x(111, "trouble with selfpipe") ;
- if (x[0].revents & IOPAUSE_READ) handle_signals() ;
+ if (x[0].revents & IOPAUSE_READ) { handle_signals() ; continue ; }
if (numconn < maxconn)
{
if (x[1].revents & IOPAUSE_EXCEPT) strerr_dief1x(111, "trouble with socket") ;