The --output-csv option to crushtool will create files in the current
directory of the monitor. The only reason for using it is because
crushtool requires at least one option for display. Relax this
constraint in crushtool and remove the option from the call made by the
monitor to validate a new crushmap.
Signed-off-by: Loic Dachary <ldachary@redhat.com>
cmd_args.push_back("-i");
cmd_args.push_back("-");
cmd_args.push_back("--test");
- cmd_args.push_back("--output-csv");
cmd_args.push_back(NULL);
int pipefds[2];
if (test && !display && !write_to_file) {
cerr << "WARNING: no output selected; use --output-csv or --show-X" << std::endl;
- exit(EXIT_FAILURE);
}
if (decompile + compile + build > 1) {