This commit is contained in:
Chaoscaot
2023-03-08 22:01:06 +01:00
parent 98d797532e
commit 9e7d5ea424
2 changed files with 11 additions and 6 deletions

View File

@ -169,7 +169,7 @@ fn main() {
Some(x) => x
};
file = match std::fs::File::create(output_file_path) {
file = match File::create(output_file_path) {
Ok(x) => Some(x),
Err(e) => {
cmd.error(ErrorKind::Io, format!("Error while creating output file: {}", e.to_string())).exit();