bsod: do not check for color support
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 28 Oct 2024 12:38:58 +0000 (13:38 +0100)
committerLuca Boccassi <luca.boccassi@gmail.com>
Wed, 13 Nov 2024 19:48:10 +0000 (19:48 +0000)
commitf23efaf96d3ac667c78cb07a895be8f72b46e808
tree987656f07cd4fccae43105fb8a3647fc99de5075
parentb3fd2104bc0b30c45ec8c04e5cf867a7f9356cc3
bsod: do not check for color support

When invoked on a running system, bsod would not print the qrcode.
The check for "color support" on stdout is pointless, since we're not
printing to stdout but to a terminal fd that is opened separately.

(cherry picked from commit 5a64c86936477ecea5cc1fb8dbc79faf522cf370)
src/journal/bsod.c
src/shared/qrcode-util.c
src/shared/qrcode-util.h