1
0
mirror of https://github.com/ceph/ceph synced 2025-04-01 23:02:17 +00:00

rados-config: do not load ceph.conf

Fixes: 
Signed-off-by: Sage Weil <sage@inktank.com>
Reviewed-by: Samuel Just <sam.just@inktank.com>
This commit is contained in:
Sage Weil 2013-08-23 15:21:41 -07:00
parent cc3249b44a
commit 51fe5da99c

View File

@ -42,7 +42,8 @@ int main(int argc, const char **argv)
bool opt_version = false;
bool opt_vernum = false;
global_init(NULL, args, CEPH_ENTITY_TYPE_CLIENT, CODE_ENVIRONMENT_UTILITY, 0);
global_init(NULL, args, CEPH_ENTITY_TYPE_CLIENT, CODE_ENVIRONMENT_UTILITY,
CINIT_FLAG_NO_DEFAULT_CONFIG_FILE);
common_init_finish(g_ceph_context);
for (std::vector<const char*>::iterator i = args.begin();