summaryrefslogtreecommitdiff
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.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/stls/stls_run.c b/src/stls/stls_run.c
index 3f2742d..b6e1bf3 100644
--- a/src/stls/stls_run.c
+++ b/src/stls/stls_run.c
@@ -214,7 +214,11 @@ int stls_run (struct tls *ctx, int *fds, pid_t pid, unsigned int verbosity, uint
/* Signal */
- if (x[0].revents & IOPAUSE_READ) handle_signals(pid, &e) ;
+ if (x[0].revents & IOPAUSE_READ)
+ {
+ handle_signals(pid, &e) ;
+ if (e >= 0) break ;
+ }
/* Flush to local */