mirror of
https://gitlab.freedesktop.org/plymouth/plymouth.git
synced 2026-05-07 18:58:01 +02:00
Respond with password of "" if boot splash plugin isn't loaded
This commit is contained in:
parent
1c3a90801e
commit
b4842e3c74
1 changed files with 6 additions and 0 deletions
|
|
@ -126,6 +126,12 @@ on_ask_for_password (state_t *state,
|
|||
{
|
||||
password_answer_closure_t *closure;
|
||||
|
||||
if (state->boot_splash != NULL)
|
||||
{
|
||||
answer_handler (answer_data, "", state->boot_server);
|
||||
return;
|
||||
}
|
||||
|
||||
closure = malloc (sizeof (password_answer_closure_t));
|
||||
closure->handler = answer_handler;
|
||||
closure->data = answer_data;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue