osdmaptool: small fix

This commit is contained in:
Sage Weil 2008-03-25 20:09:32 -07:00
parent e53e4ddaa9
commit 9cf05c60cf

View 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);
}