projects
/
platform
/
upstream
/
nsjail.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b28785
)
Return failing exit status on timeout
author
JT Olds
<hello@jtolds.com>
Tue, 7 Jul 2015 20:08:54 +0000
(14:08 -0600)
committer
JT Olds
<hello@jtolds.com>
Tue, 7 Jul 2015 21:41:58 +0000
(15:41 -0600)
subproc.c
patch
|
blob
|
history
diff --git
a/subproc.c
b/subproc.c
index ca5d1868b3590eaf521c9d7bbf77816eab88104a..e9df4698301078600dffa6b4937e37696027a70a 100644
(file)
--- a/
subproc.c
+++ b/
subproc.c
@@
-182,6
+182,9
@@
int subprocReap(struct nsjconf_t *nsjconf)
PLOG_D("Sent SIGCONT to PID: %d", pid);
kill(pid, SIGKILL);
PLOG_D("Sent SIGKILL to PID: %d", pid);
+ if (rv == 0) {
+ rv = -1;
+ }
}
}
return rv;