commit | 5c341e9a5734742ae1137388345d4f47efdd4f05 | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@kernel.dk> | Thu Sep 29 18:00:35 2011 -0600 |
committer | Jens Axboe <axboe@kernel.dk> | Thu Sep 29 18:00:35 2011 -0600 |
tree | a3dd0ecd3ee6325b22299754ad2bfdcb80e251e5 | |
parent | 50d16976ac0cd44c1f5aba9217148ff05e141436 [diff] [blame] |
Hide things not appropriate behind is_backend Also add explicit command to exit the server, FIO_QUIT. Signed-off-by: Jens Axboe <axboe@kernel.dk>
diff --git a/init.c b/init.c index 5d57091..ce16450 100644 --- a/init.c +++ b/init.c
@@ -1317,7 +1317,7 @@ exit(exit_val); if (is_backend) - fio_server(); + return fio_server(); if (td) { if (!ret) @@ -1367,6 +1367,8 @@ return 0; if (exec_profile) return 0; + if (is_backend) + return 0; log_err("No jobs(s) defined\n\n"); usage(argv[0]);