rgw: radosgw_admin will quit gracefully if it can't open the store

This commit is contained in:
Greg Farnum 2010-03-29 07:40:51 -07:00
parent a5d809215a
commit 7030731bd8

View File

@ -173,6 +173,7 @@ int main(int argc, char **argv)
store = RGWAccess::init_storage_provider("rados", argc, argv);
if (!store) {
cerr << "couldn't init storage provider" << std::endl;
return 5; //EIO
}