Also suppress final [OK] message with -q flag.

This commit is contained in:
Ed Avis 2010-05-21 15:40:33 +01:00
parent 603785f783
commit b4dd8cdaa1

1
main.c
View file

@ -321,6 +321,7 @@ static void decompress_file(void)
fprintf(control.msgout, "\r");
if (!(control.flags & (FLAG_STDOUT | FLAG_TEST_ONLY)))
fprintf(control.msgout, "Output filename is: %s: ", control.outfile);
if (control.flags & FLAG_SHOW_PROGRESS)
fprintf(control.msgout, "[OK] - %lld bytes \n", (long long)expected_size);
fflush(control.msgout);