aboutsummaryrefslogtreecommitdiff
path: root/runcap.c
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2017-07-19 15:23:20 +0300
committerSergey Poznyakoff <gray@gnu.org.ua>2017-07-19 17:07:26 +0300
commit99d911104d7c03608398d47c74f1ce3c39bff211 (patch)
treefa0daaa47c29ea23d8e1cae8d32cd18085636cdf /runcap.c
parent651babfefa21536112cbcd799932b3595aeb2da4 (diff)
downloadruncap-99d911104d7c03608398d47c74f1ce3c39bff211.tar.gz
runcap-99d911104d7c03608398d47c74f1ce3c39bff211.tar.bz2
Include the manpage; improve make distcheck
Diffstat (limited to 'runcap.c')
-rw-r--r--runcap.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/runcap.c b/runcap.c
index de2f3a6..bbe735f 100644
--- a/runcap.c
+++ b/runcap.c
@@ -346,6 +346,7 @@ runcap_loop(struct runcap *rc)
if (rc->rc_pid == (time_t) -1)
break;
kill(rc->rc_pid, SIGKILL);
+ rc->rc_errno = ETIMEDOUT;
continue;
}
tvp = &tv;

Return to:

Send suggestions and report system problems to the System administrator.