init: set fail error return on bad parse
[fio.git] / init.c
diff --git a/init.c b/init.c
index e2084516327918a04bcb6966707591c6598478a5..861b1f5fd0f466d35dfd9a12ed606b80f98e0b1d 100644 (file)
--- a/init.c
+++ b/init.c
@@ -1482,6 +1482,7 @@ int __parse_jobs_ini(struct thread_data *td,
 
                                log_err("fio: option <%s> outside of "
                                        "[] job section\n", p);
+                               ret = 1;
                                break;
                        }