Fix a rare error message in run_single()

This commit is contained in:
Frédéric Mangano 2023-02-21 15:49:26 +09:00
parent 2afd126380
commit 55e7e9b64e

View File

@ -504,7 +504,7 @@ static void run_single(const ot::options& opt, const std::string& path_in, const
temporary_output.open(path_out->c_str());
output = temporary_output.get();
} else {
throw ot::status {ot::st::error, "Could not identify '" + path_in + "': " + strerror(errno)};
throw ot::status {ot::st::error, "Could not identify '" + path_out.value() + "': " + strerror(errno)};
}
ot::ogg_writer writer(output);