]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: radosgw_admin will quit gracefully if it can't open the store
authorGreg Farnum <gregf@hq.newdream.net>
Mon, 29 Mar 2010 14:40:51 +0000 (07:40 -0700)
committerGreg Farnum <gregf@hq.newdream.net>
Mon, 29 Mar 2010 18:49:11 +0000 (11:49 -0700)
src/rgw/rgw_admin.cc

index c937aef99826301c6346211712391a7587a4a620..d379ba7e507a616a6b0aa276eb0c687020063ce1 100644 (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
   }