git.samba.org
/
build-farm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
desactivate history for the moment (it's broken)
[build-farm.git]
/
timelimit.c
diff --git
a/timelimit.c
b/timelimit.c
index 6e43544cd0351b226269585e62862cdf271618b1..1d938073f0dbede38ecb01031ad55136a791f13c 100644
(file)
--- a/
timelimit.c
+++ b/
timelimit.c
@@
-92,7
+92,9
@@
int main(int argc, char *argv[])
int status;
pid_t pid = wait(&status);
if (pid != -1) {
- ret = WEXITSTATUS(status);
+ if (WIFEXITED(status)) {
+ ret = WEXITSTATUS(status);
+ }
} else if (errno == ECHILD) {
break;
}