summaryrefslogtreecommitdiff
path: root/src/shared/logs-show.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-10-18 23:22:56 +0200
committerLennart Poettering <lennart@poettering.net>2012-10-18 23:35:44 +0200
commitcd4b13e0bfe9281a0d2c0c3bef1c589d0684950b (patch)
tree85f4cff3e191552956243ce630fcd8ca340b3996 /src/shared/logs-show.c
parentfd6e88753716d8136037277c7db2196e0f979675 (diff)
journalctl: don't ellipsize unless on a tty
Diffstat (limited to 'src/shared/logs-show.c')
-rw-r--r--src/shared/logs-show.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/logs-show.c b/src/shared/logs-show.c
index 05895366e2..63a48e4552 100644
--- a/src/shared/logs-show.c
+++ b/src/shared/logs-show.c
@@ -243,7 +243,7 @@ static int output_short(
}
}
- if (flags)
+ if (flags & OUTPUT_SHOW_ALL)
fprintf(f, ": %s%.*s%s\n", color_on, (int) message_len, message, color_off);
else if (!utf8_is_printable_n(message, message_len)) {
char bytes[FORMAT_BYTES_MAX];