commit 183caee41c995f5cd9926d8f4b859ee97c3c478d
parent 94d5ea5f6b6fea693d1c4a2ed3e81abd10220fe5
Author: Laurent Bercot <ska-skaware@skarnet.org>
Date: Tue, 14 May 2019 00:31:06 +0000
bugfix: s6-ipcserverd: fix spurious warning when at maxconn
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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") ;