From b4842e3c748c4e1eb396e15547c927faa6ba40c6 Mon Sep 17 00:00:00 2001 From: Ray Strode Date: Mon, 2 Jun 2008 10:11:35 -0400 Subject: Respond with password of "" if boot splash plugin isn't loaded --- src/main.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src') diff --git a/src/main.c b/src/main.c index 3b19155..70916fb 100644 --- a/src/main.c +++ b/src/main.c @@ -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; -- cgit