git://git.openafs.org
/
openafs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Always check VInitVolumePackage2 return code
[openafs.git]
/
src
/
vol
/
test
/
testpart.c
diff --git
a/src/vol/test/testpart.c
b/src/vol/test/testpart.c
index
9044c6c
..
dc29b80
100644
(file)
--- a/
src/vol/test/testpart.c
+++ b/
src/vol/test/testpart.c
@@
-41,7
+41,10
@@
main(argc, argv)
VolumePackageOptions opts;
VOptDefaults(1, &opts);
- VInitVolumePackage2(1, &opts);
+ if (VInitVolumePackage2(1, &opts)) {
+ printf("errors encountered initializing volume package\n");
+ exit(-1);
+ }
VPrintDiskStats();
}