aboutsummaryrefslogtreecommitdiffstats
path: root/src/conn-tools/s6-ioconnect.c
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2026-11-04 10:17:11 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2026-11-04 10:17:11 +0000
commit40125363cc4a49866289feb1e1f33dc3523b3451 (patch)
tree76871d06dc63d15dcb5f1184acc0e1a30d128e45 /src/conn-tools/s6-ioconnect.c
parentfbe9a8da8efad60370900d37c137a799c680fa41 (diff)
downloads6-40125363cc4a49866289feb1e1f33dc3523b3451.tar.gz
Don't check for IOPAUSE_EXCEPT explicitly wherever possibleHEADmain
Diffstat (limited to 'src/conn-tools/s6-ioconnect.c')
-rw-r--r--src/conn-tools/s6-ioconnect.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/conn-tools/s6-ioconnect.c b/src/conn-tools/s6-ioconnect.c
index 0b78277..cb57e74 100644
--- a/src/conn-tools/s6-ioconnect.c
+++ b/src/conn-tools/s6-ioconnect.c
@@ -62,8 +62,8 @@ static void handle_signals (void)
case 0 : return ;
case SIGTERM :
{
- if (a[0][0].xindex < 5) x[a[0][0].xindex].revents |= IOPAUSE_EXCEPT ;
- if (a[1][0].xindex < 5) x[a[1][0].xindex].revents |= IOPAUSE_EXCEPT ;
+ if (a[0][0].xindex < 5) x[a[0][0].xindex].revents |= POLLHUP ;
+ if (a[1][0].xindex < 5) x[a[1][0].xindex].revents |= POLLHUP ;
break ;
}
default :
@@ -203,7 +203,7 @@ int main (int argc, char const *const *argv)
for (i = 0 ; i < 2 ; i++) if (a[i][0].xindex < 5)
{
- if (x[a[i][0].xindex].revents & (IOPAUSE_READ | IOPAUSE_EXCEPT))
+ if (x[a[i][0].xindex].revents & IOPAUSE_READ)
{
if (!fillit(i))
{