mirror of
https://git.openafs.org/openafs.git
synced 2025-01-19 15:30:14 +00:00
budb: Fail if afsconf_GetExtendedCellInfo does
Rather than silently ignoring the failure of afsconf_GetExtendedCellInfo, and then using garbage cell configuration, just fail to start if afsconf can't parse the config directory. Change-Id: Ib3d26bc67844de10f7eb8c2ef555c5e607e4bf61 Reviewed-on: http://gerrit.openafs.org/9247 Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com> Reviewed-by: Derrick Brashear <shadow@your-file-system.com> Tested-by: BuildBot <buildbot@rampaginggeek.com>
This commit is contained in:
parent
ca6d6bb9b0
commit
3fbdc609dc
@ -482,6 +482,11 @@ main(int argc, char **argv)
|
||||
|
||||
code = afsconf_GetExtendedCellInfo (BU_conf, lcell, 0, &cellinfo,
|
||||
clones);
|
||||
if (code) {
|
||||
LogError(0, "Can't read cell information\n");
|
||||
ERROR(code);
|
||||
}
|
||||
|
||||
code =
|
||||
convert_cell_to_ubik(&cellinfo, &globalConfPtr->myHost,
|
||||
globalConfPtr->serverList);
|
||||
|
Loading…
Reference in New Issue
Block a user