chore: replace rogue throw in mkdwarfs_main

This commit is contained in:
Marcus Holland-Moritz 2023-12-30 12:22:35 +01:00
parent 33ea3bda7a
commit 14038dcfe7

View File

@ -767,9 +767,9 @@ int mkdwarfs_main(int argc, sys_char** argv, iolayer const& iol) {
ifs = iol.file->open_input(input_list_path, ec);
if (ec) {
throw std::runtime_error(fmt::format("error opening file '{}': {}",
input_list_path.string(),
ec.message()));
iol.err << "error opening file '" << input_list_path
<< "': " << ec.message() << "\n";
return 1;
}
is = &ifs->is();