X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=profile.c;h=5d0b866708559c1adb5253306c83fe4fc50e3fd8;hp=6a80dec2c7b7479cff92d24c47d2a0d9ac8fa691;hb=8a96c80eae18a3594a43cadd82a5807fd2f340cd;hpb=135be493d843d4cae2966a35cbd22a3058ec8e4b diff --git a/profile.c b/profile.c index 6a80dec2..5d0b8667 100644 --- a/profile.c +++ b/profile.c @@ -30,7 +30,10 @@ int load_profile(const char *profile) ops = find_profile(profile); if (ops) { - ops->prep_cmd(); + if (ops->prep_cmd()) { + log_err("fio: profile %s prep failed\n", profile); + return 1; + } add_job_opts(ops->cmdline, FIO_CLIENT_TYPE_CLI); return 0; }