diff options
author | Daan De Meyer <daan.j.demeyer@gmail.com> | 2023-03-16 11:21:28 +0100 |
---|---|---|
committer | Daan De Meyer <daan.j.demeyer@gmail.com> | 2023-03-16 11:21:28 +0100 |
commit | 197dd3a9a4bda2f604b437aa395098622678c416 (patch) | |
tree | 1d454d306014e3e4c26be0e91862fd63654c0bf5 /units/sleep.target | |
parent | e0b8bbbdbece50e7c58b09c633e0ebe6e47c99e7 (diff) | |
download | systemd-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/sleep.target')
0 files changed, 0 insertions, 0 deletions