mirror of
https://github.com/ckolivas/lrzip.git
synced 2026-04-21 06:03:54 +00:00
Fix false warning on compressing from stdin without keep files
This commit is contained in:
parent
591e106d57
commit
773df5436c
1 changed files with 1 additions and 1 deletions
2
lrzip.c
2
lrzip.c
|
|
@ -1217,7 +1217,7 @@ bool compress_file(rzip_control *control)
|
|||
if (TMP_OUTBUF)
|
||||
close_tmpoutbuf(control);
|
||||
|
||||
if (!KEEP_FILES) {
|
||||
if (!KEEP_FILES && !STDIN) {
|
||||
if (unlikely(unlink(control->infile)))
|
||||
fatal_return(("Failed to unlink %s\n", control->infile), false);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue