projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
fab6aa7
)
[PATCH] Don't check status if ret < 0
author
Jens Axboe
<jens.axboe@oracle.com>
Sat, 17 Feb 2007 05:20:19 +0000
(06:20 +0100)
committer
Jens Axboe
<jens.axboe@oracle.com>
Sat, 17 Feb 2007 05:20:19 +0000
(06:20 +0100)
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
fio.c
patch
|
blob
|
blame
|
history
diff --git
a/fio.c
b/fio.c
index 774b160c969337b2ad28b8c852479d4cf6e2f0ae..78dca9a09610e3140ae5eaabc7518012bff40abe 100644
(file)
--- a/
fio.c
+++ b/
fio.c
@@
-846,7
+846,7
@@
static void reap_threads(int *nr_running, int *t_rate, int *m_rate)
ret = waitpid(td->pid, &status, 0);
if (ret < 0)
perror("waitpid");
- if (WIFEXITED(status) && WEXITSTATUS(status)) {
+
else
if (WIFEXITED(status) && WEXITSTATUS(status)) {
if (!exit_value)
exit_value++;
}