mirror of
https://github.com/ckolivas/lrzip.git
synced 2025-12-06 07:12:00 +01:00
Also suppress final [OK] message with -q flag.
This commit is contained in:
parent
603785f783
commit
b4dd8cdaa1
3
main.c
3
main.c
|
|
@ -321,7 +321,8 @@ static void decompress_file(void)
|
||||||
fprintf(control.msgout, "\r");
|
fprintf(control.msgout, "\r");
|
||||||
if (!(control.flags & (FLAG_STDOUT | FLAG_TEST_ONLY)))
|
if (!(control.flags & (FLAG_STDOUT | FLAG_TEST_ONLY)))
|
||||||
fprintf(control.msgout, "Output filename is: %s: ", control.outfile);
|
fprintf(control.msgout, "Output filename is: %s: ", control.outfile);
|
||||||
fprintf(control.msgout, "[OK] - %lld bytes \n", (long long)expected_size);
|
if (control.flags & FLAG_SHOW_PROGRESS)
|
||||||
|
fprintf(control.msgout, "[OK] - %lld bytes \n", (long long)expected_size);
|
||||||
fflush(control.msgout);
|
fflush(control.msgout);
|
||||||
|
|
||||||
if (close(fd_hist) != 0 || close(fd_out) != 0)
|
if (close(fd_hist) != 0 || close(fd_out) != 0)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue