]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
cconf: resort to search in global section
authorYehuda Sadeh <yehuda@hq.newdream.net>
Wed, 11 Mar 2009 22:27:20 +0000 (15:27 -0700)
committerYehuda Sadeh <yehuda@hq.newdream.net>
Wed, 11 Mar 2009 22:27:20 +0000 (15:27 -0700)
src/cconf.cc

index fdeb8ea8e969a1f16d5e7d4ed46eb575a72e6811..0fbba7fdedfab1f1782104b8e214613318476f49 100644 (file)
@@ -118,6 +118,8 @@ int main(int argc, const char **argv)
   if (alt_name)
     sections.push_front(alt_name);
 
+  sections.push_back("global");
+
   for (unsigned i=0; i<sections.size(); i++) {
     cf.read(sections[i], key, (char **)&val, NULL);