mirror of
https://github.com/ceph/ceph
synced 2025-01-10 13:10:46 +00:00
osdmaptool: small fix
This commit is contained in:
parent
e53e4ddaa9
commit
9cf05c60cf
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user