mirror of
https://gitlab.freedesktop.org/plymouth/plymouth.git
synced 2026-05-02 18:57:59 +02:00
[main] Ignore --hide-splash while deactivated
Since we ignore --show-splash, it makes no sense to process --hide-splash either; in theory this does nothing already because we won't have a boot_splash in our state - but that changes with future patches and it's worth being safe.
This commit is contained in:
parent
704397b5e8
commit
3cdaefc8f9
1 changed files with 3 additions and 0 deletions
|
|
@ -667,6 +667,9 @@ dump_details_and_quit_splash (state_t *state)
|
|||
static void
|
||||
on_hide_splash (state_t *state)
|
||||
{
|
||||
if (state->is_inactive)
|
||||
return;
|
||||
|
||||
if (state->boot_splash == NULL)
|
||||
return;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue