summaryrefslogtreecommitdiff
path: root/src/journal
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2016-01-20 13:44:31 +0100
committerLennart Poettering <lennart@poettering.net>2016-01-20 13:44:31 +0100
commita9cb7caba6a58ac72d9d8754fee546b881d6ce57 (patch)
treedf2f482acf54cb7d13e557b37f7a1bc4984c1c76 /src/journal
parentf7e29f72bf5a440737bdf8a1fc81053b5f44cb64 (diff)
parent40c9fe4c0862114dab390c8ed16f78cf056b9140 (diff)
Merge pull request #2381 from jsynacek/journalctl-colors-v4
basic/terminal-util: introduce SYSTEMD_COLORS environment variable
Diffstat (limited to 'src/journal')
-rw-r--r--src/journal/journalctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/journal/journalctl.c b/src/journal/journalctl.c
index d009b2e93b..db11421e7a 100644
--- a/src/journal/journalctl.c
+++ b/src/journal/journalctl.c
@@ -2336,7 +2336,7 @@ int main(int argc, char *argv[]) {
flags =
arg_all * OUTPUT_SHOW_ALL |
arg_full * OUTPUT_FULL_WIDTH |
- on_tty() * OUTPUT_COLOR |
+ colors_enabled() * OUTPUT_COLOR |
arg_catalog * OUTPUT_CATALOG |
arg_utc * OUTPUT_UTC;