Merge branch 'patch-1' of https://github.com/hannesweisbach/fio
authorJens Axboe <axboe@kernel.dk>
Tue, 29 Oct 2019 19:39:14 +0000 (13:39 -0600)
committerJens Axboe <axboe@kernel.dk>
Tue, 29 Oct 2019 19:39:14 +0000 (13:39 -0600)
* 'patch-1' of https://github.com/hannesweisbach/fio:
  Fix output redirection of exec_prerun/_postrun

backend.c

index 54273f8ddd5c04fc43b8622fba1e6979958bad26..1c339408fa5fd0338cdd0e98444b5a7a2fa509a8 100644 (file)
--- a/backend.c
+++ b/backend.c
@@ -1236,7 +1236,7 @@ static int init_io_u(struct thread_data *td)
                ptr = fio_memalign(cl_align, sizeof(*io_u), td_offload_overlap(td));
                if (!ptr) {
                        log_err("fio: unable to allocate aligned memory\n");
-                       break;
+                       return 1;
                }
 
                io_u = ptr;