]> git.ipfire.org Git - thirdparty/systemd.git/commit
shared/terminal-util: don't use $COLORTERM to force colors
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 6 May 2022 16:19:21 +0000 (18:19 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 6 May 2022 16:26:26 +0000 (18:26 +0200)
commit34c2d32cf97ddc41348960687e52db6637faf1df
tree737ebf28de4716759831d02fbcc2921b62f109ca
parente447f9ac0b7911e7f094f8300f61807bdcf06c40
shared/terminal-util: don't use $COLORTERM to force colors

Fixup for a5efbf468c96190c9562bc8121eda32310dfd112: if $COLORTERM was set, we'd
unconditionally turn on colors, which is unexpected and wrong. It even breaks
our own tests when executed in gnome-terminal.
src/basic/terminal-util.c