summaryrefslogtreecommitdiff
path: root/units
diff options
context:
space:
mode:
authorDaan De Meyer <daan.j.demeyer@gmail.com>2023-03-16 11:21:28 +0100
committerDaan De Meyer <daan.j.demeyer@gmail.com>2023-03-16 11:21:28 +0100
commit197dd3a9a4bda2f604b437aa395098622678c416 (patch)
tree1d454d306014e3e4c26be0e91862fd63654c0bf5 /units
parente0b8bbbdbece50e7c58b09c633e0ebe6e47c99e7 (diff)
downloadsystemd-197dd3a9a4bda2f604b437aa395098622678c416.tar.gz
terminal-util: Don't assume terminal is dumb if connected to /dev/null
If we're connected to /dev/null, we're likely going to be writing colors to something that's not stdout/stderr, so let's fall back to checking TERM if that's the case.
Diffstat (limited to 'units')
0 files changed, 0 insertions, 0 deletions