cacheout: Improve error handling
authorAndrew Deason <adeason@sinenomine.net>
Fri, 3 Sep 2010 15:59:45 +0000 (10:59 -0500)
committerDerrick Brashear <shadow@dementia.org>
Sun, 5 Sep 2010 15:50:44 +0000 (08:50 -0700)
commitdefd84d0fb43a068d2b9ae88a103ffea266c8d95
tree9e2f598462c18cd5017fd32c9d5f97a1b0e4fa38
parente07f87070c901d71c2f4fa594738ce0a16c77ea1
cacheout: Improve error handling

Bail out when we encounter errors in initialization. Among other
things, this prevents a segfault if we can't read the client
configuration.

Change-Id: I8b35163c5c4750eb05539a225069327051a3f148
Reviewed-on: http://gerrit.openafs.org/2665
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Jeffrey Hutzelman <jhutz@cmu.edu>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
src/venus/cacheout.c