mirror of
https://gitlab.freedesktop.org/plymouth/plymouth.git
synced 2026-05-07 18:58:01 +02:00
Respond with password of "" if splash-plugin can't ask for password
This commit is contained in:
parent
9cb9af7c20
commit
0af64a60e2
1 changed files with 6 additions and 1 deletions
|
|
@ -223,9 +223,14 @@ ply_boot_splash_ask_for_password (ply_boot_splash_t *splash,
|
|||
assert (splash != NULL);
|
||||
assert (splash->plugin_interface != NULL);
|
||||
assert (splash->plugin != NULL);
|
||||
assert (splash->plugin_interface->ask_for_password != NULL);
|
||||
assert (splash->is_shown);
|
||||
|
||||
if (splash->plugin_interface->ask_for_password == NULL)
|
||||
{
|
||||
answer_handler (answer_data, "");
|
||||
return;
|
||||
}
|
||||
|
||||
splash->plugin_interface->ask_for_password (splash->plugin,
|
||||
answer_handler, answer_data);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue