aboutsummaryrefslogtreecommitdiff
path: root/src/xz
diff options
context:
space:
mode:
Diffstat (limited to 'src/xz')
-rw-r--r--src/xz/message.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xz/message.c b/src/xz/message.c
index 80c86a49..d9b7d239 100644
--- a/src/xz/message.c
+++ b/src/xz/message.c
@@ -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;