]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
bsod: make sure "Press Any Key" has a blue background too
authorLennart Poettering <lennart@poettering.net>
Tue, 20 Feb 2024 15:33:01 +0000 (16:33 +0100)
committerLennart Poettering <lennart@poettering.net>
Wed, 21 Feb 2024 14:11:27 +0000 (15:11 +0100)
src/journal/bsod.c

index 046858e8a6482ff06b484b1dad91b3f2071a5976..05c3205d4470c94122b3d4d3c284d666fa4b76c0 100644 (file)
@@ -221,7 +221,7 @@ static int display_emergency_message_fullscreen(const char *message) {
         if (r < 0)
                 log_warning_errno(r, "Failed to move terminal cursor position, ignoring: %m");
 
-        r = loop_write(fd, "Press any key to exit...", SIZE_MAX);
+        r = loop_write(fd, ANSI_BACKGROUND_BLUE "Press any key to exit...", SIZE_MAX);
         if (r < 0) {
                 ret = log_warning_errno(r, "Failed to write to terminal: %m");
                 goto cleanup;