commit | 7c973896f9e97f7b551bf4881fc0338b748f308b | [log] [tgz] |
---|---|---|
author | Jens Axboe <jaxboe@fusionio.com> | Sat Jan 22 15:11:03 2011 -0700 |
committer | Jens Axboe <jaxboe@fusionio.com> | Sat Jan 22 15:11:03 2011 -0700 |
tree | e93db7ee4324823522f4e3c1770ffa1cc843a8d9 | |
parent | b8d42b234f70ce2927e9ef1279aff42d62779cfd [diff] [blame] |
Ensure that we exit with non-zero status on IO engine load failure Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
diff --git a/ioengines.c b/ioengines.c index 6b677cb..7f4e104 100644 --- a/ioengines.c +++ b/ioengines.c
@@ -312,6 +312,8 @@ log_err("fio: io engine init failed. Perhaps try" " reducing io depth?\n"); } + if (!td->error) + td->error = ret; } return ret;