xz: Fix output of verbose --robot --list modes.
It printed the filename in "filename (x/y)" format which it obviously shouldn't do in robot mode.
This commit is contained in:
parent
8d4864f53f
commit
2f90345e13
|
@ -211,7 +211,7 @@ message_set_files(unsigned int files)
|
|||
static void
|
||||
print_filename(void)
|
||||
{
|
||||
if (files_total != 1 || filename != stdin_filename) {
|
||||
if (!opt_robot && (files_total != 1 || filename != stdin_filename)) {
|
||||
signals_block();
|
||||
|
||||
FILE *file = opt_mode == MODE_LIST ? stdout : stderr;
|
||||
|
|
Loading…
Reference in New Issue