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:
5bbfd06
)
No need to set return value with timeouts
author
Jagger
<robert@swiecki.net>
Thu, 5 May 2016 03:39:57 +0000
(
05:39
+0200)
committer
Jagger
<robert@swiecki.net>
Thu, 5 May 2016 03:39:57 +0000
(
05:39
+0200)
subproc.c
patch
|
blob
|
history
diff --git
a/subproc.c
b/subproc.c
index 3be7404ef2d9415a2287bc7261081b33e2538426..036d984ddeebee2f01cbeb557d4863a8c46cd15e 100644
(file)
--- a/
subproc.c
+++ b/
subproc.c
@@
-198,9
+198,6
@@
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;