aboutsummaryrefslogtreecommitdiffstats
path: root/src/stls/stls_run.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stls/stls_run.c')
-rw-r--r--src/stls/stls_run.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/stls/stls_run.c b/src/stls/stls_run.c
index e56d123..ae9af51 100644
--- a/src/stls/stls_run.c
+++ b/src/stls/stls_run.c
@@ -178,6 +178,11 @@ void stls_run (struct tls *ctx, int const *fds, uint32_t options, unsigned int v
fd_close(x[1].fd) ;
x[1].fd = -1 ;
}
+ else if (x[1].revents & IOPAUSE_EXCEPT)
+ {
+ errno = EIO ;
+ strerr_diefu1sys(111, "iopause for writing on local") ;
+ }
}