client: exit if no jobs were sent and client is idle
authorJens Axboe <axboe@kernel.dk>
Thu, 23 Feb 2012 19:56:12 +0000 (20:56 +0100)
committerJens Axboe <axboe@kernel.dk>
Thu, 23 Feb 2012 19:56:12 +0000 (20:56 +0100)
commitc2cb68696255a8fda93043a1f2219b60af614549
tree2c4bd7bce37d3fef18c0376c7c2077b0b41bd3dd
parentae38c0dcd570265aef09aa132ce27278d8909a1d
client: exit if no jobs were sent and client is idle

If we invoke the client without arguments, it gets the probe
response and then waits for further response from the server.
But if no command line or job files were sent, the server
is idle. In that case, just quit.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
client.c