mirror of
https://github.com/ckolivas/lrzip.git
synced 2026-04-05 14:25:42 +00:00
Fix false warning on decompressing from stdin without keep files
This commit is contained in:
parent
773df5436c
commit
0005c1cd95
1 changed files with 1 additions and 1 deletions
2
lrzip.c
2
lrzip.c
|
|
@ -820,7 +820,7 @@ bool decompress_file(rzip_control *control)
|
|||
|
||||
close(fd_in);
|
||||
|
||||
if (!KEEP_FILES) {
|
||||
if (!KEEP_FILES && !STDIN) {
|
||||
if (unlikely(unlink(control->infile)))
|
||||
fatal_return(("Failed to unlink %s\n", infilecopy), false);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue