mirror of
https://gitlab.freedesktop.org/plymouth/plymouth.git
synced 2026-05-08 19:28:06 +02:00
main: show the correct trace message if a message is supressed
https://bugs.freedesktop.org/show_bug.cgi?id=50845
This commit is contained in:
parent
e4a1a05e3c
commit
5437420a2e
1 changed files with 6 additions and 2 deletions
|
|
@ -451,9 +451,13 @@ static void
|
|||
on_display_message (state_t *state,
|
||||
const char *message)
|
||||
{
|
||||
ply_trace ("displaying message %s", message);
|
||||
if (state->boot_splash != NULL)
|
||||
ply_boot_splash_display_message (state->boot_splash, message);
|
||||
{
|
||||
ply_trace ("displaying message %s", message);
|
||||
ply_boot_splash_display_message (state->boot_splash, message);
|
||||
}
|
||||
else
|
||||
ply_trace ("not displaying message %s as no splash", message);
|
||||
ply_list_append_data (state->messages, strdup(message));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue