summaryrefslogtreecommitdiff
path: root/src/machine
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2019-04-26 12:28:25 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2019-05-08 09:50:21 +0200
commit1a04395959ca8cdca91f9da86b8580ef27025a5f (patch)
tree0e37e729a0bca4ab5ecb697947baa4f3e6baefa6 /src/machine
parent37b8d2f699ac6c80d653e94bad638122a6a1b3ef (diff)
downloadsystemd-1a04395959ca8cdca91f9da86b8580ef27025a5f.tar.gz
systemd-1a04395959ca8cdca91f9da86b8580ef27025a5f.tar.bz2
systemd-1a04395959ca8cdca91f9da86b8580ef27025a5f.zip
Enable log colors for most of tools in /usr/bin
When emitting the calendarspec warning we want to see some color. Follow-up for 04220fda5c. Exceptions: - systemctl, because it has a lot hand-crafted coloring - tmpfiles, sysusers, stdio-bridge, etc, because they are also used in services and I'm not sure if this wouldn't mess up something.
Diffstat (limited to 'src/machine')
-rw-r--r--src/machine/machinectl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/machine/machinectl.c b/src/machine/machinectl.c
index d98027a0ca..51bad267d8 100644
--- a/src/machine/machinectl.c
+++ b/src/machine/machinectl.c
@@ -3100,6 +3100,7 @@ static int run(int argc, char *argv[]) {
int r;
setlocale(LC_ALL, "");
+ log_show_color(true);
log_parse_environment();
log_open();