X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=diskutil.c;h=7be4c022431e1a0b823332f233d0159f07876ba4;hp=5b4eb46dfe46990d091f135bed3c1f9ba10eb67e;hb=bd6afe89a9874aeb788a228f7e63995b191b2eaa;hpb=bf0b7e75c1ccca4026c8880ed8a76fc7ef85f2f3 diff --git a/diskutil.c b/diskutil.c index 5b4eb46d..7be4c022 100644 --- a/diskutil.c +++ b/diskutil.c @@ -701,7 +701,7 @@ void show_disk_util(int terse, struct json_object *parent, struct disk_util *du; bool do_json; - if (!disk_util_sem) + if (!is_running_backend()) return; fio_sem_down(disk_util_sem);