diff options
author | Lennart Poettering <lennart@poettering.net> | 2012-10-18 23:22:56 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2012-10-18 23:35:44 +0200 |
commit | cd4b13e0bfe9281a0d2c0c3bef1c589d0684950b (patch) | |
tree | 85f4cff3e191552956243ce630fcd8ca340b3996 /src/shared/logs-show.c | |
parent | fd6e88753716d8136037277c7db2196e0f979675 (diff) |
journalctl: don't ellipsize unless on a tty
Diffstat (limited to 'src/shared/logs-show.c')
-rw-r--r-- | src/shared/logs-show.c | 2 |
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]; |