Print error on thread init failure
[fio.git] / parse.c
diff --git a/parse.c b/parse.c
index 1b38db5c2d789d9cbce07658b325aa066f616e37..5043374405d8a1e262687a5a1bdcac90f18990cf 100644 (file)
--- a/parse.c
+++ b/parse.c
@@ -428,6 +428,12 @@ static int __handle_option(struct fio_option *o, const char *ptr, void *data,
                ret = 1;
        }
 
+       if (ret)
+               return ret;
+
+       if (o->verify)
+               ret = o->verify(o, data);
+
        return ret;
 }