]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
osdmaptool: small fix
authorSage Weil <sage@newdream.net>
Wed, 26 Mar 2008 03:09:32 +0000 (20:09 -0700)
committerSage Weil <sage@newdream.net>
Wed, 26 Mar 2008 03:09:47 +0000 (20:09 -0700)
src/osdmaptool.cc

index d9392ba91fa8f04197ef74f5f8d05ec9fecc5186..8af6515fb7a851e5730e23210a3dd3abd207bf66 100644 (file)
@@ -148,7 +148,7 @@ int main(int argc, const char **argv)
     cout << me << ": exported crush map to " << export_crush << std::endl;
   }  
 
-  if (!print && !modified) {
+  if (!print && !modified && !export_crush && !import_crush) {
     cerr << me << ": no action specified?" << std::endl;
     usage(me);
   }