summaryrefslogtreecommitdiff
path: root/src/timesync
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2022-12-14 15:39:26 +0100
committerYu Watanabe <watanabe.yu+github@gmail.com>2022-12-15 12:56:03 +0900
commit7a14db9cfd3f81d77a1e4ecce67b4d2044ebc9c4 (patch)
tree75fe19b108b4f86de492dce2e7a0aec77241363e /src/timesync
parent60e84f02055b76bd8916822939b686ba9b5798d5 (diff)
downloadsystemd-7a14db9cfd3f81d77a1e4ecce67b4d2044ebc9c4.tar.gz
basic: do not output emojis if not on a proper terminal
$TERM would generally be set if we're connected to a proper graphical terminal emulator. In all other cases, in particular if $TERM is not set, we almost certainly are not connected to something that can output emojis. In particular the text console is unlikely to ever do it correctly. So let's invert the check, and only write emojis if $TERM is set. Fixes #25521.
Diffstat (limited to 'src/timesync')
0 files changed, 0 insertions, 0 deletions