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.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2019-05-08 09:50:21 +02:00
parent 37b8d2f699
commit 1a04395959
26 changed files with 26 additions and 0 deletions
+1
View File
@@ -171,6 +171,7 @@ static int parse_argv(int argc, char *argv[]) {
static int run(int argc, char* argv[]) {
int r;
log_show_color(true);
log_parse_environment();
log_open();