Fix potential segfault on ENOENT on job file
authorJens Axboe <axboe@fb.com>
Wed, 8 Oct 2014 15:55:22 +0000 (09:55 -0600)
committerJens Axboe <axboe@fb.com>
Wed, 8 Oct 2014 15:55:22 +0000 (09:55 -0600)
commit02957cd47484f5c84c687db3ce01b084a53ae25b
treeb3a7505281e00d4fa7d7bde4352600a5ee209c44
parent829c31b5c14ac8f8a39a0e5cf8ef4fe71856bb48
Fix potential segfault on ENOENT on job file

Introduced in commit 323255cc2269, if we fail opening, td may
not be set.

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