Do not try to initialize client in simple-offsets
parent
dd74c5ce1b
commit
3f33095fd7
|
@ -305,6 +305,10 @@ void cli_tool_t::run(json11::Json cfg)
|
|||
fprintf(stderr, "unknown command: %s\n", cmd[0].string_value().c_str());
|
||||
exit(1);
|
||||
}
|
||||
if (action_cb == NULL)
|
||||
{
|
||||
return;
|
||||
}
|
||||
color = !cfg["no-color"].bool_value();
|
||||
json_output = cfg["json"].bool_value();
|
||||
iodepth = cfg["iodepth"].uint64_value();
|
||||
|
|
Loading…
Reference in New Issue