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