init: exit on failure to add all jobs
authorJens Axboe <axboe@fb.com>
Tue, 21 Feb 2017 15:16:21 +0000 (08:16 -0700)
committerJens Axboe <axboe@fb.com>
Tue, 21 Feb 2017 15:16:21 +0000 (08:16 -0700)
commit3bc20ebdf0802db981f9d8b2cb3255c6f4cc9265
treea3fa00424eec850adf638c6981c2e6aadb60ea8c
parent349cdc89ffebb8f3a9cf3ff5be6a9934b94f1b05
init: exit on failure to add all jobs

It's too late to set do_exit here, so just exit manually if we
fail adding jobs.

Signed-off-by: Jens Axboe <axboe@fb.com>
init.c