From: YukiKita Date: Fri, 22 Jul 2016 09:18:14 +0000 (+0900) Subject: Fix "exitall_on_error" option X-Git-Tag: fio-2.13~3 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=78abcf9b17b56997cdfa75af79cbcf468276e4f9;hp=c16556af62cd1cd1ae31b6ee8706efc43c137f77 Fix "exitall_on_error" option "exitall_on_error" option should be enabled without any argument. --- diff --git a/options.c b/options.c index 4723e414..4461643e 100644 --- a/options.c +++ b/options.c @@ -3444,8 +3444,8 @@ struct fio_option fio_options[FIO_MAX_OPTS] = { { .name = "exitall_on_error", .lname = "Exit-all on terminate in error", - .type = FIO_OPT_BOOL, - .off1 = td_var_offset(unlink), + .type = FIO_OPT_STR_SET, + .off1 = td_var_offset(exitall_error), .help = "Terminate all jobs when one exits in error", .category = FIO_OPT_C_GENERAL, .group = FIO_OPT_G_PROCESS,