From: Jens Axboe Date: Thu, 19 Jul 2007 12:53:01 +0000 (+0200) Subject: Treat option outside of job section as fatal and quit X-Git-Tag: fio-1.16.8~2 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=088b42076dcbadf4d61367e19e49cb0d12aaadd1;hp=7f7e6e59f48bbd754847c825075a9c46962e0116 Treat option outside of job section as fatal and quit Signed-off-by: Jens Axboe --- diff --git a/init.c b/init.c index 93322fdc..6cbed8c8 100644 --- a/init.c +++ b/init.c @@ -583,8 +583,8 @@ static int parse_jobs_ini(char *file, int stonewall_flag) if (is_empty_or_comment(p)) continue; if (sscanf(p, "[%255s]", name) != 1) { - log_err("fio: option <%s> outside of job section\n", p); - continue; + log_err("fio: option <%s> outside of [] job section\n", p); + break; } global = !strncmp(name, "global", 6);