client: continue support for multiple connections
[fio.git] / fio.c
diff --git a/fio.c b/fio.c
index bd566e8..0f12888 100644 (file)
--- a/fio.c
+++ b/fio.c
@@ -1694,7 +1694,7 @@ static void run_threads(void)
 
 int exec_run(void)
 {
 
 int exec_run(void)
 {
-       if (is_client)
+       if (nr_clients)
                return fio_handle_clients();
        if (exec_profile && load_profile(exec_profile))
                return 1;
                return fio_handle_clients();
        if (exec_profile && load_profile(exec_profile))
                return 1;