summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/automatic.c
diff options
context:
space:
mode:
Diffstat (limited to 'mdk-stage1/automatic.c')
-rw-r--r--mdk-stage1/automatic.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mdk-stage1/automatic.c b/mdk-stage1/automatic.c
index 486a829de..edb478ca6 100644
--- a/mdk-stage1/automatic.c
+++ b/mdk-stage1/automatic.c
@@ -135,7 +135,8 @@ enum return_type ask_from_entries_auto(char *msg, char ** questions, char *** an
char * tmp_answers[50];
int i = 0;
while (questions && *questions) {
- tmp_answers[i] = get_auto_value(*questions_auto);
+ if (streq(tmp_answers[i] = get_auto_value(*questions_auto), ""))
+ return ask_from_entries(msg, questions, answers, entry_size, callback_func);
log_message("AUTOMATIC: question %s answers %s because of param %s", *questions, tmp_answers[i], *questions_auto);
i++;
questions++;