diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2016-04-19 21:56:39 -0400 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2016-04-20 09:00:39 -0400 |
commit | d5ca5e132463c52c5a9c6285475c7a51b894b9e4 (patch) | |
tree | 17ea0977b36321439e9577d54f38c4b7276a587d /autogen.sh | |
parent | 4d46e5db1518e6ed0f727e8561f130b4f512033f (diff) |
pid1: disable color output when TERM=dumb
This changes the behaviour of pid1 in the following ways:
- obviously $TERM is now checked,
- $SYSTEMD_COLORS is now honoured too, before only SYSTEMD_LOG_COLORS was checked,
- isatty() is run on stdout not stderr.
As requested in #3025.
Diffstat (limited to 'autogen.sh')
0 files changed, 0 insertions, 0 deletions