From 1a04395959ca8cdca91f9da86b8580ef27025a5f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Fri, 26 Apr 2019 12:28:25 +0200 Subject: 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. --- src/login/inhibit.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/login/inhibit.c') diff --git a/src/login/inhibit.c b/src/login/inhibit.c index 47fd9e874d..d96c8195a2 100644 --- a/src/login/inhibit.c +++ b/src/login/inhibit.c @@ -270,6 +270,7 @@ static int run(int argc, char *argv[]) { _cleanup_(sd_bus_flush_close_unrefp) sd_bus *bus = NULL; int r; + log_show_color(true); log_parse_environment(); log_open(); -- cgit v1.2.1