mirror of https://github.com/skeeto/enchive.git
Use the correct output file in error message.
parent
f28b650290
commit
fa7228133e
|
@ -1169,7 +1169,7 @@ command_archive(struct optparse *options)
|
||||||
if (outfile) {
|
if (outfile) {
|
||||||
out = fopen(outfile, "wb");
|
out = fopen(outfile, "wb");
|
||||||
if (!out)
|
if (!out)
|
||||||
fatal("could not open output file -- %s", infile);
|
fatal("could not open output file -- %s", outfile);
|
||||||
cleanup_register(out, outfile);
|
cleanup_register(out, outfile);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue